Nginx subfilter Dark css theme stopped working

Describe the bug
I use nginx subfilter to add dark css themes.  It just stopped working today.  Did anything change or break?  Nothing has changed on my setup.
Theme Install Method  nginx subfilter css

Docker run / Compose Config
Webserver subfilter Config
Stylus Config

Application Info (Don't skip)

Version
Branch
Container

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (If applicable) (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (If applicable) (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Se latest release notes https://github.com/GilbN/theme.park/releases/tag/1.6.9


operators jaeger (1.30.0)

Signed-off-by: Ruben Vargas<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/retest

/merge possible

@rkukura,@jpkrohling , please approve

@rkukura, @rubenvp8510, could you please remove me from the CI file on your next PR? @pavolloffay would be a good replacement for me.

/merge possible

/merge possible

/hold

/unhold

/merge possible


[feature] Show the "name" or the top attribute of a JSON schema when folded in CMakePresets.json.

Feature Request
Show the "name" or the top attribute of a JSON schema when folded in CMakePresets.json. Take CLion 2022.3 for reference.

Example: CMakePresets.zip

Version

VSCode: 1.73.1

Screenshots

Depends on https://github.com/microsoft/vscode/issues/70794, marked as dup.


feat: menu (sandwich) for mobile devices

Pre-Flight checklist

[ ] Screenshots and design review for any changes that affect layout or styling

[ ] Desktop screenshots
[ ] Mobile width screenshots

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

What are the relevant tickets?
https://github.com/mitodl/ocw-hugo-themes/issues/26
What's this PR do?
Adds sandwich menu for mobile devices with appropriate links.
How should this be manually tested?

This PR is deployed here
Verify that sandwich icon shows up for tablets and mobiles devices (devices having width 991 px or less)
Verify that sandwich icon shows menu when clicked.
Verify that all the links shown are working.

search box (in ocw-course only)
Give link
about link
help & faq link
contact us link

Repeat the above steps with multiple browsers.

Screenshots (if appropriate)

Mobile navbar - closed (for both, ocw-www and ocw-course)

ocw-www:

Navbar for Desktop/laptop:

ocw-www:

Navbar for Mobile:

ocw-course:

Navbar for Desktop/laptop:

ocw-course:

Navbar for Mobile:

@pdpinch I don't have the permission to view the design

Can you please grant the permission?

@pdpinch Shall we merge this one too?

@MAbdurrehman12 side note since this has already been merged, but for future PRs if you put somewhere in either the PR description or in the commit message of your squashed commit a string like this:
closes #26

or this
fixes #26

then, when the PR is merged, Github will automatically close the linked issue. You can see an example of me doing this on a PR for ocw-studio here: https://github.com/mitodl/ocw-studio/pull/888

@alicewriteswrongs Yeah, Thanks


An UploadedFile - early instantiation problem

If we use a few (more than one) inheritors of the UploadedFile in a controller than a getInstance() method called on any of inheritors returns the instance of inheritor that was used first in current php session.
Here an example:
class ProductController extends \yii\web\Controller {
    public function actionUpdate($id)
    {
        $productImage = \app\components\ProductImage::getInstance($this, 'prod_image'); //returns an instance of ProductImage as expected
        $vendorImage = \app\components\VendorImage::getInstance($this, 'vendor_image'); //returns an instance of ProductImage - expected an instance of VendorImage!
    }
}

The problem is that yii\web\UploadedFile loads all files and instantiate its when fisrt call of getInstance() occurs using late static binding. So, when next calls of getInstance() occurs we getting a wrong instance from $_files static property.

why you need to extend yii\web\UploadedFile?

Why not? It's not about my business logic. Btw, I need to implement some custom naming and manipulation for uploaded files and I don't want to put it into main model. I suppose that inheritor of yii\web\UploadedFile the best solution to do that.
Anyway, if yii\web\UploadedFile isn't declared as a final class, it's getInstance() method must return an instance of a class on which we call that method. It's logical and expected behavior.

Resolved by commit  2fe0a40


fix(deps): update github.com/tubenhirn/dagger-ci-modules/v2 digest to 2956bae

This PR contains the following updates:

Package
Type
Update
Change

github.com/tubenhirn/dagger-ci-modules/v2
require
digest
7d6f6b7 -> 2956bae

⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.

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

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Spaces and rename changes are breaking

Worth pointing out here, if you use SPACES in any of the elements that may get used in the ARM templates, this can be fatal when trying to substitute parameters in the Azure DevOps pipeline. There is no syntax checking on ARM export, that I can see, so if you have a connection defined as "Azure Blob 1" then it will put that in the ARM template with spaces.
Recommended you DON'T use spaces anywhere in the ADF component names, otherwise expect disaster. Go for "Azure_Blob_1" for example.
Also I found that if elements are renamed in the source ADF, then when it's applied as ARM it does not replace the original, merely creates another entry. Get it right first time it seems

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

ID: 1e22e4d6-366f-fbf8-e141-8905ca7ab7ae
Version Independent ID: 5be2acf2-66e7-cadf-6666-5a85a65b9771
Content: Continuous integration and delivery in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/continuous-integration-deployment.md
Service: data-factory
GitHub Login: @djpmsft
Microsoft Alias: daperlov

@mcalnd70 Thanks for the feedback and bringing this to our notice. At this time one of our engineer is reviewing the feedback and will provide an update as appropriate.

Thank you for your feedback, @mcalnd70 . This has been assigned to the content owner, @djpmsft , and will be updated as appropriate.

Hey there,
Thank you for bringing this to our attention. Due to ARM Template and Powershell script constraints, we do not recommend having spaces in your resource names. I have added this information to the documentation under Best practices and it should be live tomorrow.
Thanks,
Daniel
#please-close


Add class names to string array control components

Adding classes to some string array control components so that some CSS concerns can be addressed.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Codecov Report

Merging #132 (1a7d55b) into master (d215120) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #132   +/-   ##
=======================================
  Coverage   78.73%   78.73%
=======================================
  Files          40       40
  Lines        1331     1331
  Branches      309      309
=======================================
  Hits         1048     1048
  Misses        220      220
  Partials       63       63

Impacted Files
Coverage Δ

...itor/src/CustomFormControls/StringArrayControl.tsx
93.33% <ø> (ø)

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 d215120...1a7d55b. Read the comment docs.


[FEATURE] Add proper scaling to UI

Feature Information
Feature description
Our console and mods UI does not scale properly with some resolutions and window sizes
Solution proposal
Create a more consistent UI scale that works better for any resolutions and window sizes

Fixed in #166


Fast-RTPS 1.8.1 build fails with BUILD_JAVA=ON

System: Ubuntu 18.04, with Java 11.0.2+9-Ubuntu-3ubuntu118.04.3 and Gradle 5.5-rc-3.
Problem: Fast-RTPS release 1.8.1 fails building with -DBUILD_JAVA=ON:
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Task :copyResources UP-TO-DATE
> Task :processResources
> Task :idl:clean UP-TO-DATE

> Task :idl:generateGrammarSource FAILED
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
error(7):  cannot find or open file: ../antlr4/omg/com/eprosima/idl/parser/grammar/IDL.g4

> Task :buildIDLParser FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':idl:generateGrammarSource'.
> There was 1 error during grammar generation

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

This was already informed on #583 and was fixed on #586

@MiguelCompany alright sorry for the duplicate. What I don't understand is why is this scheduled for a 1.9.0 release when this is a bug in a previous release (not even in upstream code). IMHO this should be applied as an hotfix to 1.8.0, or we risk always having to update the FastRTPS versions so to fix release bugs.

@TSC21 You're right. We are backporting some fixes to branch 1.8.x, and will also backport #586 on it

Commit cfaf5307dae3ab94e6ff929f7507779585895691 should fix this issue.

@MiguelCompany how and when are you planning to sync the release branches with that 1.8.x branch?

FastRTPSGen is now an independent project and both master branches should work.
I'm closing this due to deprecation, please, feel free to reopen it again if you have more issues.


Sites like https://www.ncbi.nlm.nih.gov/ are very slow or cannot open when using Hysteria proxy

I have encountered an issue where certain websites, such as https://www.ncbi.nlm.nih.gov/, are very slow or cannot open when using the Hysteria proxy. so this behavior is unexpected. The website is very slow to load or does not load at all. - I have no problem opening other sites with Hysteria.

The site https://www.ncbi.nlm.nih.gov/ opens easily without using Hysteria.Operating System: windows

After thorough investigation, I found out that the problem was caused by my VPS IP. When using different IPs, the websites work well with Hysteria.

After thorough investigation, I found out that the problem was caused by my VPS IP. When using different IPs, the websites work well with Hysteria.


FoundationEssentials: support mmap'ed reading on Windows

This adjusts the data reading path for supporting Windows which does not have the mmap function but does provide memory-mapped IO. The difference in the API is sufficient to create a separate path for the wrapping function rather than trying to have a single shared implementation that simply uses different APIs for the system integration.

Note that this doesn't currently work as I don't know how to handle the errors. The error information is not really an errno (POSIX error code) but rather a Win32 Error (GetLastError). The build failure on Windows for this file is now just the error reporting.

Note that this doesn't currently work as I don't know how to handle the errors

CocoaError.errorWithFilePath with an errno just creates a CocoaError by mapping the errno to an applicable CocoaError.Code and then creates a CocoaError with that code and a user info dictionary with the underlying POSIXError. Would we be able to create another overload of errorWithFilePath but instead of an errno: parameter perhaps with a win32Error: parameter that similarly maps error codes to CocoaError.Code and then creates a user info dictionary with just the underlying code instead of using a POSIXError?

Thanks @jmschonfeld that sounds like it should be possible to do!

I've created #528 with the new error mapping that can hopefully be used to build this out.

@swift-ci please test

@swift-ci please test


Entities

Hello,
Entities written like this &entity1; is now crashing with the new version (2.0).
What is the new way to write entity ?
Thank you

Is this still an issue? Can you clarify what do mean by entities - something like & or &quote; seems to work.


add gradient llms and example

Description
Adds Gradient integration
Type of Change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
-- test would need access token and workspace, wasn't how to approach
[X] Added new notebook (that tests end-to-end)
[X] I stared at the code and made sure it makes sense

Suggested Checklist:

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
-- no new failures, at least

Thanks for the contribution! Left some comments/questions.

Thanks for the clarification on my questions! Would love to get this in. Looks like there's just some minor linting and testing issues left.

@lilwilsond2 sorry for the delay on this! seems like there's a slight merge conflict, after that it's ready to merge


[Agents] Components cannot receive initial state when connecting to non-worker agents

Is your feature request related to a problem? Please describe.
Non-worker agents cannot respond to a connection directly
Describe the solution you'd like
New trait for synchronous non-worker Agents which allows agents to respond immediately when it's connected to.

I would be very much looking forward for such a trait!
Currently, an (admittedly very small, nitpicky) downside of using Actors for managing shared component state is that every message is getting serialized, which theoretically wouldn't be required if everything's running synchronously on the main thread (if I got that right).
So removing the Serialize/Deserialize bound on Input and Output could be another potential benefit of this, along with a very small performance improvement that might come with that.

Does the title of this issue mean that there is a way for a component to receive a state when connecting to a worker agent?
I have been looking for a way to have a synchronous connection, exactly for the purpose of receiving initial state. I couldn't find anything, in the examples and the code that would enable a worker agent to do this.
to be clear, I looked at the multi-threaded and the pub_sub example.
I would be keen on adding an "Initial state from agent" example if I knew where to begin.

@happysalada there isn't currently a way. But it would be a very nice feature to add!

Non-worker agents are gone as of #2295


Additional history tracking

We should add these to the history tracker (there's probably more):
Nodes

[ ] Node creation (at the moment the tracker only works for source nodes, but we should track creation for all nodes)

entity_type=NODE
activity_type=CREATE

[ ] Updating node:

entity_type=NODE
activity_type=UPDATE

[ ] Deactivating node

entity_type=NODE
activity_type=DEACTIVATE

[ ] Activating node

entity_type=NODE
activity_type=ACTIVATE

[ ] Tagging node with tag

entity_type=NODE
activity_type=TAG

[ ] Linking dimensions:

entity_type=NODE
activity_type=LINK

[ ] Unlinking dimensions:

entity_type=NODE
activity_type=UNLINK

[ ] Setting column attributes:

entity_type=NODE
activity_type=SET_ATTRIBUTE

[ ] Node status switched to valid/invalid by the system:

entity_type=NODE
activity_type=SET_ATTRIBUTE

[ ] Source node schema set/updated by reflection:

entity_type=NODE
activity_type=UPDATE

Namespaces

[ ] Creating a namespace:

entity_type=NAMESPACE
activity_type=CREATE

Tags

[ ] Creating a tag:

entity_type=TAG
activity_type=CREATE

[ ] Updating a tag:

entity_type=TAG
activity_type=UPDATE

Materialization/Availability

[ ] Created a new materialization
[ ] Updated a materialization
[ ] Deleted a materialization
[ ] Posted availability state

Thanks for creating this, I added two to the end of the nodes section. cc: @betodealmeida @cwegener @CircArgs @agorajek , please add any other events you can think of that we'd want to track in the history table.


$resource   problem with 17 digit number

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
we are using $resource to query a 17 digit number,  http response in browser showing correct response where as result from query is giving wrong number.  For example from server i am getting  [{"id":"41538455546609777"}] as response where as from $resource.query I am seeing  [{"id":"41538455546609780"}]
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Which versions of AngularJS, and which browser / OS are affected by this issue? Did this work in previous versions of AngularJS? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
1.5.6
Other information (e.g. stacktraces, related issues, suggestions how to fix)

The circumstances under which it happens (or what exactly happens) are not clear.
Please, provide more info, including exact steps to reproduce or a runnable demo (ideally using CodePen, Plnkr etc).

I'm going to close this issue because we haven't got any feedback. Feel free to reopen this issue if you can provide new feedback.


Create a new /ide temporary page that behaves like CodePen/CodeSandbox

This page will eventually turn into our 3D React tutorial.

Done!


Overall improvements

Hi, this is actually my first time contributing to open-source, please accept my changes and thanks for the opportunity


<IP_ADDRESS> not published to Maven

It looks like <IP_ADDRESS> has been added to the CHANGELOG, but hasn't been released on GitHub or published to Maven.
I believe I am having the same issue as https://github.com/confluentinc/parallel-consumer/issues/541 which is fixed in that release, can that release please be published?

Hi,
<IP_ADDRESS> is the current development iteration - <IP_ADDRESS>-SNAPSHOT. It is not released as a release version yet.

@rkolesnev - when will that version be released? I think https://github.com/confluentinc/parallel-consumer/pull/548 is an important fix to get released. Alternatively, are there SNAPSHOT versions published anywhere?

Hi Ryan,
We are planning an updated release later this week if you are happy to wait for that. If you are in a rush you can build the SNAPSHOT version locally.


Scale and transformation

Hi,
Thank you for this amazing algorithm, I am really surprised how fast it work.
I implemented it in Rhino software via command line and hope to have more time to implement C++ version as an interactive plugin.
The  question I have is how does the algorithm transform the input by means of translation?
Does it calculated the average center of the mesh and moves it to origin point?
Also does the scale matter? For instance if the model would 1000 bigger or smaller would it have any problem?

@petrasvestartas Thanks for the feedback! The code to translate the input mesh can be found here: https://github.com/GeometryCollective/boundary-first-flattening/blob/13bf0f2d4572731068a36d366089464b97c7aa69/mesh/src/MeshIO.cpp#L537 In the next version, I'll add this translation back to the model so that input geometry is not modified. The scale shouldn't matter - internally BFF scales the model down to unit radius but then rescales it when the mesh is written to file.

Dear @rohan-sawhney ,
Since I am using your command-line method I noticed that this can be improved.
Currently I am using .NET C# language with a custom written obj parser. Meaning I am exporting .obj files from my application via code, running command-line in one thread, and then extracting vertices, faces and texture values to get the end result.
Would it be possible to avoid this file operation when the command line would output 3 collections:
vertices, faces and textures?
I do not know if it possible to achieve this, without export files, but saving files and opening them takes 50 ms for small meshes and 500 ms for the face mask.
Ideally I will use C++ code, but for .NET users who does not have any experience in low level coding it a great help.


Sanitize transport config and include in report (Alt Approach)

This PR scoped changed since opening it. Currently, it proposes a standalone sanitizer method in config.go that redacts sensitive user info.

We should either merge this PR or PR #159, not both. SanitizeConfig in this PR does not handle each transport explicitly though and has a potential for leak if transport does not encode sensitive user data in UserInfo part of the URL.

@fortuna Thanks for all the feedback! I applied the last requested changes, resolved merge conflicts and merged with main :)


System.ArgumentNullException: Value cannot be null. (Parameter 'type')

Hi, I am getting the following error when running the task on the provided hello world maxscript file.
Am using VSCode 1.64.2, 3DS Max 2020.
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'type')
   at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
   at MXSPyCOM.Program.execute_max_commands(String[] args, String filepath)
   at MXSPyCOM.Program.Main(String[] args)
The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command & 'C:\Program Files\MXSPyCOM\MXSPyCOM.exe' -s c:\[PATH_TO_MAXSCRIPT]" terminated with exit code: 1.

Hey Jeff,
Sorry, should have mentioned I just replaced that part manually before pasting in here as it was a long path.
I tried hard coding the path in the json file and also tried it with the workspace in the User directory.
Still get the error. Saw some closed issues with similar error but wasn't able to get much of a clue from it. Any thoughts?
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'type')    at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)    at MXSPyCOM.Program.execute_max_commands(String[] args, String filepath)    at MXSPyCOM.Program.Main(String[] args) The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command & 'C:\Program Files\MXSPyCOM\MXSPyCOM.exe' -s c:\Users\arhymingape\maxscript\hello_world.ms" terminated with exit code: 1.

same issue!

Put initialize_COM_server.ms into [install path]/scripts/Startup folder. Then restart 3dsmax.


feature: add string blank check

Motivation:
String blank should be checked.
Modification:
Add isNullOrBlank to StringUtil.
Result:
String blank checked

@xujianhai this is an internal class, you shouldn't add your own utility methods or use it at all..

@xujianhai as @johnou said... Closing


Updating Teku mainnet bootnodes ENRs

Motivation
Updating Teku's mainnet bootnode ENRs according to https://github.com/eth-clients/eth2-networks/blob/master/shared/mainnet/bootstrap_nodes.txt#L10-L11
(the first two Teku bootnodes on the list are being sunset)
Description
Just updating the ENR records on the mainnet config file and some tests :)

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

:tada: This PR is included in v1.12.0 :tada:


Silently ignored dependency

Hello,
I take long time to find why cargo build doesn’t compile my local crate (required via path).
My crate had a main.rs file (without main function) instead of lib.rs.
I don’t know the best way to inform about this mistake (missing main function or crate without lib.rs) but it’s difficult to find its.

Thanks for the report! I don't quite understand the construction of a project to lead to this error, mind giving an example or a repo I can poke around in?

As I recall:

develop a first crate;
split this crate by moving files;
create missing files (Cargo.toml, main.rs, …);
develop the second crate with tests;
require the second crate in the first one with path.

Do you have an example project structure or a more concrete definition of how to reproduce this?

https://github.com/sanpii/cargo-bug

Can you clarify what the bug is in this case? If you cargo build in the top-level it won't work because the bad-crate crate doesn't have any libraries.

If you cargo build in the top-level it won't work because the bad-crate crate doesn't have any libraries.

Yes, the compilation failed but the message is ambiguous:
$ cargo build
   Compiling rust v0.1.0 (file:///home/sanpi/test/rust)
error[E0463]: can't find crate for `bad_crate`
 --> src/main.rs:1:1
  |
1 | extern crate bad_crate;
  | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error(s)

error: Could not compile `rust`.

To learn more, run the command again with --verbose.

I registered a crate, but it’s a binary crate.

Cargo distinguishes a crate as binary if it has a main.rs file and as a library if it has a lib.rs file. Anything other than that will result in your crate not being identified.
But this behavior can be overridden if you explicitly specify the file that you want to be treated as your crate/library root; in bad-crate's Cargo.toml file like:
[lib]
path = "src/main.rs"

Then it will compile and pull the bad-crate as a library dependency just fine.

Yeah I definitely agree the error message could be improved here! I'll tag it as such.

Triage:  Cargo will now give this warning message, which gives the user a hint that something is wrong with their dependency:

warning: rust v0.1.0 (/home/achin/tmp/66/cargo-bug) ignoring invalid dependency bad-crate which is missing a lib target

Yea, this seems sufficiently resolved now, thanks!

Great, thank you.


Build failure with -Wsign-compare -Werror (default on Ubuntu for ARM builds)

Building fails on Ubuntu for ARM, due to signed/unsigned comparison warning (handled as error by default):
/<>/usrsctplib/netinet/sctp_output.c: In function ‘sctp_lower_sosend’:
/<>/usrsctplib/netinet/sctp_output.c:13898:14: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (sndlen > asoc->smallest_mtu) {
^
/<>/usrsctplib/netinet/sctp_output.c:13933:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (sndlen > SCTP_SB_LIMIT_SND(so))
^
/<>/usrsctplib/netinet/sctp_output.c:14129:14: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
(sndlen > SCTP_SB_LIMIT_SND(stcb->sctp_socket))) {
^
/<>/usrsctplib/netinet/sctp_output.c:14158:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (((max_len <= local_add_more) &&
^~
/<>/usrsctplib/netinet/sctp_output.c:14312:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if ((max_len > SCTP_BASE_SYSCTL(sctp_add_more_threshold)) ||
^
/<>/usrsctplib/netinet/sctputil.c: In function ‘sctp_sorecvmsg’:
/<>/usrsctplib/netinet/sctputil.c:6447:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
(copied_so_far >= (uint32_t)max(so->so_rcv.sb_lowat, 1)))) {

I think this is a duplicate of #335.


[Next] add an experimental command az next

This pr add an experimental command az next which can recommend next command for you.
Architecture Overview
There are mainly 3 classes in scheduled task:
Kusto Client
You can use get_data function to get data from Kusto database. Please note that the Kusto query string hard codes the time period. If you need to change the function's schedule, you also need to change the time period in the query string.
Returned Value
Returned value is a dictionary whose key is uid and value is a list of tuples which contain command param os_type source begin_time end_time.
Cosmos Client
You can use the Cosmos client to query data and insert items to Cosmos DB. We query all items in Cosmos DB to restore previous state of the CommandTable. And then use data from Kusto client to update the CommandTable. Finally, write back new data to Cosmos DB.
Returned Value
Query return an iterable dict. You can find the API reference here.
Command Table
This table is used for calculating the next command for each command.

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/zhoxing-ms/azure-cli-extensions.git@az_next#subdirectory=src/$EXT&egg=$EXT"

az next


In some cases, this feature may not function properly

Describe the bug
when cook with Furnace/Smoker, Press' q 'to throw the cooked food out, then pick it up, it will not expiate.
or use Hopper to collect the food from the Furnace/Smoker , then put it into Inventory, it will not expiate either.
Expected behavior
In the above two situations, the food will expiate.
Minecraft Version:

1.21

Server Version:

Paper 1.21

Plugin Version

0.0.9b

Hello, thanks for the report
I can see the problem, I'll try to fix it before Wednesday. That's the day I go on vacation, so I hope to be able to sort it out before I leave, but I'm running out of time at the moment to prepare for my departure and do other important tasks.
If I can't fix the plugin before I leave, it'll be fixed around September 1.
Thank you in advance for your patience!

Solution found in version 0.0.96 of NoMoreCooked available on Spigot.
If you encounter other problems, don't hesitate to reopen another issue or reply to this one if it concerns this problem.
Have a nice day !


What changes in v3.6.0?

Dear team,
I found there is a new release 7 days ago, the version is v3.6.0. when i clicked into the release page, the change log seems not changed. the latest version in the change log is still v3.5.0 which shown released at 7 January 2021. Maybe some one forgot to update the release?
I also concern about #355 and #358 , but after i updated the master branch code, it seems the issues ware still there. thanks team.

Thanks for the ping here - I had done git push --tags while forgetting to also git push. I just corrected that and the master branch should now have the fixes to the CHANGELOG as well as other fixes for the 3.6.0 release.
I will add however, that there are additional fixes that have been addressed that are not cleanly mentioned in the Changelog since we switched lead developers for this effort and I had not been tracking the Changelog as closely as I should have. If time permits I will go back and document the other fixes as well.


Fix bug for acl check and retention

For dataset version upload, we should run permission check before query the dataset table.
For retention policy support, we need to make sure the put has been set back after last call back has been triggered, not when generating the callback. Adding the test cases to make sure the delete has been called.

Codecov Report
Patch coverage: 59.09% and project coverage change: -19.13 :warning:

Comparison is base (20f4c74) 72.86% compared to head (1e99b93) 53.73%.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2503       +/-   ##
=============================================
- Coverage     72.86%   53.73%   -19.13%
+ Complexity    11156     7583     -3573
=============================================
  Files           790      790
  Lines         63066    63074        +8
  Branches       7703     7703
=============================================
- Hits          45950    33894    -12056
- Misses        14612    26256    +11644
- Partials       2504     2924      +420

Impacted Files
Coverage Δ

.../github/ambry/frontend/NamedBlobDeleteHandler.java
0.00% <0.00%> (ø)

...com/github/ambry/frontend/NamedBlobGetHandler.java
0.00% <0.00%> (ø)

...a/com/github/ambry/frontend/DeleteBlobHandler.java
59.77% <50.00%> (-29.77%)
:arrow_down:

...java/com/github/ambry/frontend/GetBlobHandler.java
61.15% <50.00%> (-29.43%)
:arrow_down:

...com/github/ambry/frontend/NamedBlobPutHandler.java
24.91% <58.33%> (-63.64%)
:arrow_down:

...ub/ambry/frontend/AccountAndContainerInjector.java
44.00% <100.00%> (-34.29%)
:arrow_down:

...ava/com/github/ambry/frontend/HeadBlobHandler.java
92.98% <100.00%> (ø)

...om/github/ambry/frontend/NamedBlobListHandler.java
90.90% <100.00%> (ø)

... and 417 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Feature academy callout

Adds support for SendGrid Academy Callout/Link.
Added example page to document SendGrid customer markdown components.

Hello @justinwhall,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Honor issue

I had 5.1k honor when I went to sleep last night, today I have 4.9k honor. I am assuming that this has something to do the other issues that are occring lately.
If not I'm curious where all that honor went ?

I'm experiencing the same issue: when I logged on in the morning I saw I passed a 16500 honor (a "round" value). Then I logged on later to see that I'm again down to 1649X. I solved a few simple katas in the meantime, but I'm still at the exact same value.
This is likely to be linked to #1458, #1459, #1465 and probably also to #1457 and #1461

This is happening because some katas have been re-ranked. This particular issue should be closed.

According to the discussion here, re-ranking already solved katas shouldn't make you lose honor.
Furthermore, there seem to be multiple (and growing) issues with CW (see my second sentence, e.g.), so this might be "only" a  side-effect.

@anter69 : It seems the number of issues love growing.
I have so far logged in to my CW account approximately 50 times today (it kept logging me out), can anyone except me confirm that they are still experiencing this issue. I had opened an issue #1452 but they haven't responded.
@FArekkusu : As @anter69 said re-ranking doesn't make you lose points so not a valid reason for closing it.

@anter69 : It seems the number of issues love growing.
I have so far logged in to my CW account approximately 50 times today (it kept logging me out), can anyone except me confirm that they are still experiencing this issue. I had opened an issue #1452 but they haven't responded.
@FArekkusu : As @anter69 said re-ranking doesn't make you lose points so not a valid reason for closing it.

We still require verification from the staff, but if re-ranking changes users' honor than that's probably how it works now.
The discussion @anter69 mentioned only led me to 2 older issues about how re-ranking doesn't change users' honor despite it being a wrong behavior, so they might have fixed it already.

@FArekkusu :
If re-ranking does change the honor, then I will close the issue  after a staff member tells me that.
Sorry if I am not willing to take your word for it since I have since then lost more honor and I'm not in the best of modes on that matter.

Unfortunately, things don't get fixed that quick on CW.
And yes, there are some global issues, I also have the problem of getting logged out every half an hour or so...

@anter69 : I have reported all the issues that I could find.
Hopefully they will be fixed.

@jhoffner Would you share a bit more insight? How would re-ranking katas stress the servers? Who should we bother with re-ranking?
Thanks

@g964

Some power users...

Seems you disagree with them ?

Hi, seems like I've encountered the same. Yesterday I had 337, today I resolved a simple kata lvl 7 and after submit my Honor dropped to 285. Any ideas if there's any way to bring them back? Or they're lost permanently?

@Paradoxial-Name

Seems you disagree with them ?

In what possible way does that sound like a disagreement? @g964 is only stating that very few were doing any re-ranking. Was there even more than one PU who was involved in re-ranking?

Just for the record, I did a handful of re-rankings and I'm pretty sure Voile and Blind4Basics did some too. There were definitely others, as I check only python and ruby katas (not js, c, etc.)
But I still don't understand how the "site couldn't handle it", as there seems to be no recalculation (of honor) in the background (see #1109 and #1112)

@anter69 stop referencing 9 month old issues. Idk if it's magic or some extratterestrial interference (or they fixed it some time ago?), but there IS honor recalculation now with change in kata's rank, and the servers can't handle it.

@FArekkusu I referenced two open issues, which - guess what? - I considered to be open. If they were fixed in the meantime, they should (have been) closed.


Error trying to enable community on MicroK8s v1.27.2

Summary
Error trying to enable community on MicroK8s v1.27.2

I have some VMs on DigitalOcean, and I've installed MicroK8s v1.27.2 revision 5372.
When I try to run microk8s enable community I get an error:
microk8s community ModuleNotFoundError: No module named 'importlib_resources'
What Should Happen Instead?
The community addon should enable, so I can then use community addons.
Reproduction Steps
Consistently reproducible.

Set up 3 VMs on Digital Ocean
Install MicroK8s
Try to enable community: microk8s enable community

This is what shows:
Infer repository core for addon community
Traceback (most recent call last):
  File "/snap/microk8s/5372/scripts/wrappers/addons.py", line 11, in <module>
    import jsonschema
  File "/usr/lib/python3/dist-packages/jsonschema/__init__.py", line 12, in <module>
    from jsonschema._format import (
  File "/usr/lib/python3/dist-packages/jsonschema/_format.py", line 10, in <module>
    from jsonschema.exceptions import FormatError
  File "/usr/lib/python3/dist-packages/jsonschema/exceptions.py", line 13, in <module>
    from jsonschema import _utils
  File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 12, in <module>
    import importlib_resources as resources  # type: ignore
ModuleNotFoundError: No module named 'importlib_resources'

Note that, if I use MicroK8s 1.26, I don't have a problem - community enables fine.
Introspection Report
inspection-report-20230622_113152.tar.gz
Can you suggest a fix?
no
Are you interested in contributing with a fix?
no
Here is full detail:
# microk8s version
MicroK8s v1.27.2 revision 5372

# microk8s status
microk8s is running
high-availability: yes
  datastore master nodes: <IP_ADDRESS>:19001 <IP_ADDRESS>:19001 <IP_ADDRESS>:19001
  datastore standby nodes: none
addons:
  enabled:
    dns                  # (core) CoreDNS
    ha-cluster           # (core) Configure high availability on the current node
    helm                 # (core) Helm - the package manager for Kubernetes
    helm3                # (core) Helm 3 - the package manager for Kubernetes
    rbac                 # (core) Role-Based Access Control for authorisation
  disabled:
    cert-manager         # (core) Cloud native certificate management
    community            # (core) The community addons repository
    dashboard            # (core) The Kubernetes dashboard
    gpu                  # (core) Automatic enablement of Nvidia CUDA
    host-access          # (core) Allow Pods connecting to Host services smoothly
    hostpath-storage     # (core) Storage class; allocates storage from host directory
    ingress              # (core) Ingress controller for external access
    kube-ovn             # (core) An advanced network fabric for Kubernetes
    mayastor             # (core) OpenEBS MayaStor
    metallb              # (core) Loadbalancer for your Kubernetes cluster
    metrics-server       # (core) K8s Metrics Server for API access to service metrics
    minio                # (core) MinIO object storage
    observability        # (core) A lightweight observability stack for logs, traces and metrics
    prometheus           # (core) Prometheus operator for monitoring and logging
    registry             # (core) Private image registry exposed on localhost:32000
    storage              # (core) Alias to hostpath-storage add-on, deprecated

# microk8s enable community
Infer repository core for addon community
Traceback (most recent call last):
  File "/snap/microk8s/5372/scripts/wrappers/addons.py", line 11, in <module>
    import jsonschema
  File "/usr/lib/python3/dist-packages/jsonschema/__init__.py", line 12, in <module>
    from jsonschema._format import (
  File "/usr/lib/python3/dist-packages/jsonschema/_format.py", line 10, in <module>
    from jsonschema.exceptions import FormatError
  File "/usr/lib/python3/dist-packages/jsonschema/exceptions.py", line 13, in <module>
    from jsonschema import _utils
  File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 12, in <module>
    import importlib_resources as resources  # type: ignore
ModuleNotFoundError: No module named 'importlib_resources'

Hi @jamest-portainer
This looks eerily similar to https://github.com/canonical/microk8s-core-addons/issues/192, can you check if setting the PYTHONPATH deals with the problem?
export PYTHONPATH=/snap/microk8s/current/usr/lib/python3.8:/snap/microk8s/current/lib/python3.8/site-packages:/snap/microk8s/current/usr/lib/python3/dist-packages

microk8s enable community

Background: This is an open bug where some Python packages are loaded from the host instead of the snap, we should have a fix for this soon.

Hi @neoaggelos
I tried setting the PYTHONPATH as per your comment, but it didn't resolve the issue. The exact same error occurred.

I tried this on MicroK8s 1.27.2 and it worked (so this is pointing to /snap/core20/1950 instead of /snap/microk8s/5372):
export SNAP=/snap/core20/1950
export PYTHONPATH=$SNAP/usr/lib/python3.8:$SNAP/lib/python3.8/site-packages:$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH
microk8s enable community

Any thoughts as to when the 1.27 patch with this in will be released? Thanks!

Hi @jamest-portainer, I have pushed a development build which should fix the issue, would you mind testing to verify whether it solves your issue?
# install
sudo snap install microk8s --classic --channel latest/edge/python-path

# or, if already installed, refresh to that channel
sudo snap refresh microk8s --channel latest/edge/python-path

I'd like a second confirmation that it solves the issue. Thanks!

Hi @neoaggelos, yes, I tried your build and it works.
As follows...
root@ubuntu:~# snap install microk8s --classic Download snap "microk8s" (5372) from channel "1.27/stable"                                             9% 4.76MB/s 34.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          16% 6.38MB/s 23.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          17% 6.47MB/s 22.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          18% 6.56MB/s 22.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          18% 6.57MB/s 22.Download snap "microk8s" (5372) from channel "1.27/stable"                                                         19% 6.80MB/s 21.0Download snap "microk8s" (5372) from channel "1.27/stable"                                                         20% 6.81MB/s 20.9Download snap "microk8s" (5372) from channel "1.27/stable"                                                         21% 6.95MB/s 20.3Download snap "microk8s" (5372) from channel "1.27/stable"                                                          25% 7.32MB/s 18.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          25% 7.38MB/s 17.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          26% 7.43MB/s 17.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          26% 7.43MB/s 17.Download snap "microk8s" (5372) from channel "1.27/stable"                                                          27% 7.59MB/s 17.Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                Run configure hook of "microk8s" snap if present                                                                                microk8s (1.27/stable) v1.27.2 from Canonical✓ installed root@ubuntu:~# microk8s enable community Infer repository core for addon community Traceback (most recent call last):   File "/snap/microk8s/5372/scripts/wrappers/addons.py", line 11, in <module>     import jsonschema   File "/usr/lib/python3/dist-packages/jsonschema/__init__.py", line 12, in <module>     from jsonschema._format import (   File "/usr/lib/python3/dist-packages/jsonschema/_format.py", line 10, in <module>     from jsonschema.exceptions import FormatError   File "/usr/lib/python3/dist-packages/jsonschema/exceptions.py", line 13, in <module>     from jsonschema import _utils   File "/usr/lib/python3/dist-packages/jsonschema/_utils.py", line 12, in <module>     import importlib_resources as resources  # type: ignore ModuleNotFoundError: No module named 'importlib_resources' root@ubuntu:~# snap refresh microk8s --channel latest/edge/python-path microk8s (edge/python-path) v1.27.3 from Canonical✓ refreshed root@ubuntu:~# microk8s enable community Infer repository core for addon community Cloning into '/var/snap/microk8s/common/addons/community'... done. Community repository is now enabled
Thank you!

Perfect, thanks a lot for confirming. Merging the fix and will backport to 1.27. The fix will be out on 1.27/edge later today and on 1.27/stable with the next patch-level release.
Thanks again!

@neoaggelos I had the same problem. Fixed after moving into latest/edge/python-path.
Could you confirm how to back to the stable one after the next release? Is it with sudo snap refresh microk8s --channel stable?

@neoaggelos, you mention that 1.27.3 will be stable with the next patch-level release. Do you have any idea when that might be, or is it hard to say?

Hi @angelcervera @jamest-portainer the fix has been backported to 1.27 tracks now, and it is available on the 1.27/edge channel, i.e.
sudo snap refresh microk8s --channel 1.27/edge

And it is currently in progress to be pushed to 1.27/stable (should land in a couple of days)

Fab, thanks @neoaggelos

Any idea when 1.27.3 will get into stable channel? Thanks.

Hi @jamest-portainer, this is typically done with new Kubernetes patch-level releases. The fix should now be in 1.27/stable:
$ snap info microk8s | grep 1.27/
  1.27/stable:           v1.27.4         2023-08-02 (5643) 177MB classic
  1.27/candidate:        v1.27.4         2023-07-22 (5643) 177MB classic
  1.27/beta:             v1.27.4         2023-07-22 (5643) 177MB classic
  1.27/edge:             v1.27.4         2023-07-21 (5643) 177MB classic

Thanks for pushing the patch @neoaggelos.
Understood. Yeah, I was watching for a while and no further patch came through, hence my prompting. All good now.

All good now. Closing issue.


Recommended approach to templates, HTML or other

I really like the stream-based request handling you've got going on. I wondered if you knew of any cool approaches to templating that fit this model nicely.
There are lots of go-to solutions to templates in Node, some of which are quite bloated in my opinion. I'm curious to know what fits with the pared-down nature of merry, streaming or otherwise.
Really awesome work on merry so far, thanks! The error handling and logging is really great.

I've been experimenting a little bit in this regard, but don't have a neat solution quite yet. I'd probably build something to .toString() a choo application and then run it through a combination of:

https://github.com/substack/hyperstream
https://github.com/yoshuawuyts/server-render (note that the docs are mostly a lie still)
https://github.com/sethvincent/create-html

Hope this helps, cheers! :v:

Cool, thanks. I've come across hyperstream before, and whilst the idea is cool, it's just not as simple as plain old string-based templates. I guess that's just the nature of sync vs async. And 'streaming at a CSS selector' feels kind of odd too; having to write your HTML in such a way that data can be inserted into it later on. Anyway, opinions...
This is kind of related: From what I can tell from the source merry is designed around the creation of JSON APIs - is that right? Currently if I send an error in my app it spits out JSON. I wondered how you might prettify these somehow in a HTML app, i.e. web browsers requesting text/html. Kind of like how you're prettifying the app logs I guess. Seems like error handling is currently hardwired to send JSON, so I'm interested to hear how you might handle that.
Hope you don't mind all the questions. This is a really interesting project - I'm loving reading through the source and checking out the deps to see what's gone into it.

An idea: https://github.com/hapijs/accept
Then check the request headers when handling an error to see whether to respond with HTML or JSON.

This is a really cool idea for templates that I think you would dig: https://github.com/almost/stream-template

@callum Why not just use from2-string to convert your html templates into streams? :)

@tunnckoCore surely that's less efficient if you're serving lots of requests? It doesn't really matter that much for my app, but I'm interested to know the trade-offs if there are any.

From2-string is not a half bad idea; I'd use it. That said, you probably
want to cache static templates at the nginx level; letting Node handle it
is not ideal per se. On the other hand: there's also something like
prematurely optimizing
On Sun, Jan 22, 2017, 11:25 callum<EMAIL_ADDRESS>wrote:

@tunnckoCore https://github.com/tunnckoCore surely that's less
efficient if you're serving lots of requests? It doesn't really matter that
much for my app, but I'm interested to know the trade-offs if there are any.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/merry/issues/54#issuecomment-274322295,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleh3ONQM8-1fln4_w0lZFBPTxvihCks5rUy57gaJpZM4Lk_nm
.

This is what I have working at the moment. My main concern around templates is that when I'm pulling stuff out of the db I don't want to be buffering all the rows into an array for every request. Is this a good approach, or just overkill?
var map = require('through2-map')
var pump = require('pump')
var pumpify = require('pumpify')
var tmpl = require('html-template')

var holiday = require('./lib/models/holiday')
var template = require('./lib/template')

module.exports = index

function index (ctx, done) {
  var html = tmpl()
  var page = pumpify(template('holidays/index.html'), html)

  done(null, page)

  pump(
    holiday.list(),
    map.obj(function (row) {
      return {
        '[key=name]': row.user.name,
        '[key=status]': row.status,
        '[key=start]': new Date(row.start).toDateString(),
        '[key=end]': new Date(row.start).toDateString()
      }
    }),
    html.template('holiday', { include: false }),
    function (err) {
      if (err) return done(err)
    }
  )
}

I'd cache what is cacheable, for example cache static html into a buffer
and then repeatedly create a stream from it. Using a regular string isn't
ideal because I bet under the hood it isn't a flat string which means it'll
take longer to push out. I think casting to a buffer that's then repeatedly
streamed is the most efficient way to approach this. Then with hyperstream
inject what you need to inject from your database stuff. This is never
going to scale brilliantly, but it's the best we can do in Node I reckon.
On Sun, Jan 22, 2017 at 12:55 PM callum<EMAIL_ADDRESS>wrote:

This is what I have working at the moment. My main concern around
templates is that when I'm pulling stuff out of the db I don't want to be
buffering all the rows into an array for every request. Is this a good
approach, or just overkill?
var map = require('through2-map')var pump = require('pump')var pumpify = require('pumpify')var tmpl = require('html-template')
var holiday = require('./lib/models/holiday')var template = require('./lib/template')
module.exports = index
function index (ctx, done) {
var html = tmpl()
var page = pumpify(template('holidays/index.html'), html)
done(null, page)
pump(
holiday.list(),
map.obj(function (row) {
return {
'[key=name]': row.user.name,
'[key=status]': row.status,
'[key=start]': new Date(row.start).toDateString(),
'[key=end]': new Date(row.start).toDateString()
}
}),
html.template('holiday', { include: false }),
function (err) {
if (err) return done(err)
}
)
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/merry/issues/54#issuecomment-274326452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlevAb5XictwgW7IJzEEkyiZIfV5GGks5rU0OZgaJpZM4Lk_nm
.

Thanks - really appreciate the advice

surely that's less efficient if you're serving lots of requests?

@callum I know that, but there not so many streaming template engines/langs. So the truth is somewhere here, converting string to streams ;d

cool, think this is resolved nowwww :sparkles: :sparkles: :sparkles: :sparkles: :sparkles:


Storage: Rename Tid/Oid to TenantId and ObjectId

Any uses of Tid/SignedTid should be come TenantId/SignedTenantid and similar for Oid to ObjectId.

Closed with https://github.com/azure/azure-sdk-for-net/issues/7828


sqe_tail appears to assume tail starts at 0 instead of being initialized from sq->ktail

Excuse me if I'm misunderstanding something, but..

The ring is memset()'d and zeroed, which includes the sq member
This means sq->sqe_tail is initialized to 0
ktail is initialized to the SQ offset .tail value cast to a pointer
Upon getting an sqe instance, we read from the cached sqe_tail value, not (read-barrier) reading from the ktail pointer
Upon flushing SQE's, we overwrite the ktail pointer's value

Is this intended? Is the .tail offset's value always zero upon a new uring instance? Is that a documented guarantee?
EDIT: I just realized, this is because we know we control the SQE (from userspace) and thus upon initialization the kernel has no submitted events and thus we can start the ring really from anywhere we want, right? Corollary, the assignment from sqe_tail -> sq->ktail is always unidirectional, right?

Another thing I noticed:
You expect the number of entries to be a power of two in order to enable AND-based modulo arithmetic, only further confirmed by the fact that in the liburing implementation, sqe_tail will ultimately overflow and wrap back to 0, which would cause problems if the number of items is not a power of 2.
Is this the rationale behind the manpage notes of the kernel scaling the value to a power of two?

I just realized, this is because we know we control the SQE (from userspace) and thus upon initialization the kernel has no submitted events and thus we can start the ring really from anywhere we want, right? Corollary, the assignment from sqe_tail -> sq->ktail is always unidirectional, right?

Exactly
For the other question, the sizes are guaranteed to always be a power of 2. It's designed such that AND always works, and so that wrapping is safe.


Highlight whitespace so that it can be more easily seen

I really like the Houston colour theme, but could whitespace have a greater contrast so that it can be more easily seen?
Thanks
Lucy

Hello @LucyBufton-zz!
Does the change in this merged PR (#24) fix this issue?

Thanks @VoxelMC! I personally think #24 resolved this issue, but let's reopen this if not everyone agrees. Thanks!


add: storage Secret Status

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


Example of using move with recursion?

I don't know what this means - an example would be really helpful!

Note: while you can use recursive calls as much as you want, it is wise to treat them as normal variables and use move to pass them to branches. This can be a major optimization in some cases

https://github.com/moonad/Formality/blob/master/DOCUMENTATION.md#recursion

Check how equal_bits on Base.fm is sending the own function to both branches. That prevents having to copy it twice per call, which can be significant when the number of calls is large. (Some other functions there should be doing that too, for some reason we forgot.)


anyio.BrokenResourceError has no attribute 'errno'

when anyio raise anyio.BrokenResourceError got AttributeError: 'BrokenResourceError' object has no attribute 'errno':

File "/usr/local/lib/python3.9/dist-packages/python_socks/async_/anyio/_proxy.py", line 95, in connect
Jan 22 17:19:40 scrap-spider python3[39395]:     raise ProxyConnectionError(e.errno, msg) from e
Jan 22 17:19:40 scrap-spider python3[39395]: AttributeError: 'BrokenResourceError' object has no attribute 'errno'

We shouldn't handle the OSError and BrokenResourceError exception together, that was my mistake...

Fixed in version 2.0.3


Fix SqlServer split merge sql will miss ;

Purpose of the pull request
Fix SqlServer split merge sql will drop the ;, but merge sql needs ;
https://learn.microsoft.com/zh-tw/sql/t-sql/statements/merge-transact-sql?view=sql-server-ver16
Brief change log
Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

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

Project coverage is 40.68%.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #16118      +/-   ##
============================================
+ Coverage     40.67%   40.68%   +0.01%
- Complexity     5237     5240       +3
============================================
  Files          1382     1382
  Lines         46020    45989      -31
  Branches       4921     4897      -24
============================================
- Hits          18717    18709       -8
+ Misses        25379    25356      -23
  Partials       1924     1924

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


Error with NativeScript and WebPack

Hi, I'm trying to use this plugin with NativeScript and WebPack. I followed the insructions on this repository, but I'm having this error:
ERROR in Unexpected value 'ChartModule' imported by the module 'AppModule'
What can be wrong?
Here is a link to my repository

I don't think it is possible to use highcharts with native script since it uses DOM and native script doesn' t. Sorry


Fix #660 (accessing ELPP before it's initialized)

As said in the title.

All the changes should go do develop branch. Thanks for this change @Barteks2x
I'll manually make this change

https://github.com/muflihun/easyloggingpp/commit/3a832d73895a26c8c6ff6824a1e666bea744383d


Error value is not checked at server/server.go:122:16:

io.WriteString(writer, "Hello world!
")

Already fixed during fixing security issues detected by gosec tool.


[WIP] Revert monitor parallelism change

Description
The intended change, motivation and consequences.
Notes
Optional observations, comments or explanations.
Tests

Server-side code should have automated tests
Client-side code and scripts should have at least a manual test plan
See also IDseq PR Guidelines

What's the hold-up here?


nbdev.export.relative_import does not convert all possible import syntax

https://github.com/fastai/nbdev/blob/242331c4f05ce6e275dcbacaea7915545e29bbd5/nbdev/export.py#L182
Given this cell
# export

import my_package.uploader

import my_package.utils as u

from my_package.test import *

Expected behavior: converts to
import .uploader

import .utils as u

from .test import *

Observed behavior: converts to
import my_package.uploader

import my_package.utils as u

from .test import *

Good catch! Since we only use the last syntax, we didn't think to include the first. Should be fixed now.

I'm getting a syntax error with the form "import .utils as u"
from the documentation it seems this is indeed illegal:
https://docs.python.org/3/reference/import.html
Absolute imports may use either the import <> or from <> import <> syntax, but relative imports may only use the second form;
from that documentation, it seems relative import should only be used with the form from [...] import [...]

It would be good to document this, if you want to suggest a PR in that direction.

I'm not sure I understand what you're asking.
From what I can tell from the documentation (and the fact that I'm getting an SyntaxError with Python 3.7), the request from this issue was bogus, and should be reverted?
It doesn't seem to work with Python 3.7, and the documentation from 3.8.1 linked above tells the same.

The first one is still useful (a simple import lib_name.module should be changed to import .module). The second one doesn't work indeed, so it should be documented (in this case, since it doesn't work, we don't really care about the conversion or am I missing something?).

I'm confused, are you saying that import .module is valid?
It doesn't seem to be working for me either (and the documentation doesnt tell it either)
(and yes, I think those cases should just be ignored and not converted)

% python
Python 3.7.5 (default, Oct 25 2019, 10:52:18)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.

import .foo
File "", line 1
import .foo
^
SyntaxError: invalid syntax
import foo
foo.foo()
'foo'

Done in this commit.

is the assert forbidding import lib_name.module? I haven't tested your commit, but the regexp seems to match for it? (sorry if I am misreading the commit)
import lib_name.module is valid as is (absolute import, using the full lib_name as a prefix), and should therefore be allowed, but it should not be replaced with import .module (which isn't valid)

I see your point. Sorry it's taking me a while to understand what you mean since I never use those imports for submodules.
So yes, in that case we just need to remove the test entirely.


Fixed possible crash in DynamicBVH::optimize_incremental

I found this crash while experimenting with rendering.
bvh_root may change in update function and set to null which causes a crash by calling on the null pointer(on the next iteration).

So this fixes https://github.com/godotengine/godot/issues/44973 ?

@qarmin I don't know, it's fixed crash at while (node->is_internal()) { I didn't see your issue before and the project attached to it uses an old version and needs to be updated in order to check.

New minimal project I put on the bottom of issue
extends Node2D

var q_World3D: World3D = World3D.new()

func _process(delta) -> void:
	if randi() % 2 == 1:
		q_World3D = World3D.new()

Seems not.

@qarmin Added a check which prevent that crash.

I think the plan is to replace the 4.0 BVH implementation with @lawnjelly's 3.x one, but I guess this PR is fine as a stopgap measure until then?

Ah, didnt know about @lawnjelly implementation.. but I guess this is safe to be merged as hotfix, yes

Just a  quick one as I have to zoom, but yeah I think the plan is to replace it either with the version from 3.x, or reduz did mention having another go at an octree the other day I think. The version from 3.x is already used for the physics.
For this PR, it is interesting, because afaik optimize should not change the number of nodes in the tree, there should always be a root node therefore in each loop you would have thought, although it may change. Maybe that indicates a bug elsewhere is causing this? I'm not sure it is a while since I looked at this implementation.

Thanks!


feat: simulate transaction

Add a simulate transaction to the API and implements the json rpc method for eth_estimateGas.
Time spent on this PR: 2 days
Resolves: #164
Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing

What is the new behavior?
Route estimate_gas is implemented using the gateway url.

Does this introduce a breaking change?

[ ] Yes
[x] No

Note
Currently, given the layout of the Network enum, we can only use estimate fee when using the SequencerGatewayProvider. Might need to modify it.

Updated as to not raise in simulate_transaction if the network is Katana or Madara and just return the MAX_FEE


add spinner to anonymous consents dialog

As the templates are now loaded from the banner, on slow network consent templates are not always visible in the dialog, and the dialog appears empty.

PR: #5372


Python 3.9 syntax issue

Description
Not sure if this is worth mentioning but I think the current version uses syntax for Python 3.10+ (e.g.  def cleanse_string(s: str | Path), might be worth adjusting the requirements in the readme or using 3.9+ friendly syntax.
Logs in Debug Mode
(dj) agittis@trurl:~/Dojo$ echo $VERBOSE
1
(dj) agittis@trurl:~/Dojo$ python
Python 3.9.5 (default, Nov 23 2021, 15:27:38)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from lean_dojo import *
2024-01-19 15:07:09.393 | DEBUG    | lean_dojo.constants:<module>:67 - Using GitHub personal access token for authentication
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/agittis/Dojo/dj/lib/python3.9/site-packages/lean_dojo/__init__.py", line 2, in <module>
    from .data_extraction.trace import (
  File "/home/agittis/Dojo/dj/lib/python3.9/site-packages/lean_dojo/data_extraction/trace.py", line 22, in <module>
    from .lean import LeanGitRepo
  File "/home/agittis/Dojo/dj/lib/python3.9/site-packages/lean_dojo/data_extraction/lean.py", line 40, in <module>
    def cleanse_string(s: str | Path) -> str:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
>>>

Platform Information

macOS
LeanDojo Version 1.5.0

Fixed in v1.5.1


huffman error

The execution of rodinia/oneAPI/huffman exits with FAIL! vectors are NOT matching!

The execution exits with PASS! vectors are matching! when using the CUDA backend on the ruyman/dpcpp_cuda_examples docker.


manifest: synch MCUBoot to upstream of 7 10 2020

Introduces what is in https://github.com/zephyrproject-rtos/mcuboot/pull/36
[DNM] untill SHA will be applied.
MCUBoot was synchronized up to:
https://github.com/JuulLabs-OSS/mcuboot/commit/4dc12f4
Improvements:

hardening against hardware level fault injection and timing attacks

Abstract crypto primitives to simplify porting.

boot: Add ram-load upgrade mode

renamed single-image mode to single-slot mode

kconfig: provide logic for setting key file, simplify prj.conf

imgtool: Print image digest during verify

imgtool: Add possibility to set confirm flag for hex files as well

imgtool: --confirm implies --pad

Added single-slot Zephyr-RTOS test build

fixes:

bootutil: fix boostrapping in swap-move
Disable HW stack protection (temporary hack)
reset SPLIM registers before boot
fixes build issue that occurs if CONF_FILE contains
multiple file paths instead of single file path.
imgtool: Fix 'custom_tlvs' argument handling
Turn off cache for Cortex M7 before chain-loading.
hardening against hardware level fault injection and timing attacks

Signed-off-by: Andrzej Puzdrowski<EMAIL_ADDRESS>

@nvlsianpu The commit message still needs to refer to the right SHA after the last push.

Added changelog.  @utzig can you check it?
cc @carlescufi

@nvlsianpu The first commit message still has the wrong SHA for latest upstream commit in mcuboot!

Fixes: #28921
Fixes: #28933

@utzig @mniestroj
Doc CI is failing just because an analyzer doesn't catch mcuboot Kconfig symbols (it is false positive then).
Error: /home/runner/work/zephyr/zephyr/doc/_build/rst/doc/releases/release-notes-2.5.rst:233: WARNING: unknown option: CONFIG_BOOT_FIH_PROFILE_HIGH
/home/runner/work/zephyr/zephyr/doc/_build/rst/doc/releases/release-notes-2.5.rst:237: WARNING: unknown option: CONFIG_SINGLE_APPLICATION_SLOT
Error: Process completed with exit code 1.
Otherwise this PR is fine now.

@carlescufi ^^

@nvlsianpu You can modify PR description and add "Fixes: " to all issues that will be automatically closed by this PR.

:option: was removed


SNR masks

We should have create_snr_map() save numpy masks for SNR values 3,5, and 10 by default. We can also add the option for users to choose their preferred SNR.

I added this to the SNR calculation
 for snr_val in [3, 5, 10]:
            mask = ma.masked_where(SNR >=snr_val, SNR)
            np.save("%s/SNR_%i_mask.npy" % (self.output_dir, snr_val), mask.mask)


Expose imports in Host VM

The Host VM exposes a list of exports which the CLI uses in its inspect sub-command. It would be useful if the Host VM could expose a list of imports which the CLI would use in its inspect sub-command.

Not sure what you mean here. The host VM imports from client wasm code only what it's asked to import in order to call. Do you want a list of exports-from-a-wasm?

The Vm already exposes the exports of the WASM, in the functions fn that I added here: https://github.com/stellar/rs-stellar-contract-env/blob/2310c1698e6869fa5ccc6afa8ea69fca7bf72cf5/stellar-contract-env-host/src/vm.rs#L230-L274.
I was hoping to also expose the imports of the WASM, the list of fns that the WASM expects to be present. If it's particularly troublesome to get we can live without it, but it might help with debugging if the stellar-contract-cli would output that list of imports when its inspect sub-command is used on a WASM file. sjc did this and so I was hoping to replicate that functionality.

Closing as we've gone long enough without this, without any consequence, which is signal that we don't need it as much as I thought we did.


Angular with League Connect

Hi,
So i'm trying to use the library with Angular 14 and I keep getting issues as follows:
Error: node_modules/league-connect/dist/index.d.ts:4:8 - error TS1259: Module '"pathtoproject/node_modules/@types/ws/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flag
4 import WebSocket, { ClientOptions } from 'ws';
~~~~~~~~~
node_modules/@types/ws/index.d.ts:377:1
377 export = WebSocket;
~~~~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'allowSyntheticDefaultImports' flag.
Do you have any tips?

Sure:
import { authenticate } from 'league-connect'
at the top of my component.ts
tsconfig.json:
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2020",
"module": "es2020",
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"strictInjectionParameters": false,
"strictInputAccessModifiers": false,
"strictTemplates": false,
"strictPropertyInitialization": false
},
}

I manage to solve the issue by delegatin this whole process to a nodejs backend instead of angular.
Is there any way to make it work on a remote server and not localhost?

I thought you were using Electron or something my bad. No you can't really run it on a server since the client is on the user's computer

Thank you for your quick response and help!


[Gateway] Gateway Unbonding Periods

Objective
Prevent Gatewayss from immediately unbonding when the MsgUnstake message is submitted.
Origin Document
Deliverables

[ ] A single PR mimicking the supplier unbonding period in #666
[ ] A single PR mimicking the supplier unbonding period in #704

General deliverables

[ ] Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
[ ] Testing: Add new tests (unit and/or E2E) to the test suite.
[ ] Makefile: Add new targets to the Makefile to make the new functionality easier to use.
[ ] Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @bryanchriswhite
Co-owner: @Olshansk

@bryanchriswhite Where are we on this?

This depends on "state scheduling" (issue forcoming) but will be quite straightforward to implement on top of it.


update flow emulator version

Description
This PR bumps the version of flow-emulator which contains the flow-go version with a fix for the issue https://github.com/onflow/flow-cli/issues/488

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Codecov Report

Merging #489 (3fedbed) into master (d4ae231) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #489   +/-   ##
=======================================
  Coverage   54.99%   54.99%
=======================================
  Files          37       37
  Lines        2002     2002
=======================================
  Hits         1101     1101
  Misses        757      757
  Partials      144      144

Flag
Coverage Δ

unittests
54.99% <ø> (ø)

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

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 d4ae231...3fedbed. Read the comment docs.


uncheckedScalarInputs Cannot use connect with field matching id in name (like uid)

Bug description
Currently when I try to use
prisma.userIdentity.create({
  data: {
    user: { connect: { id: user.id } },
    uid,
   }
})

I get error Unknown arg user in data.user for type UserIdentityUncheckedCreateInput. Did you mean userId
I guess this is because I have field name uid which matches id in name, but this field is just a string, not using any relation.

How to reproduce

Written above
Expected behavior

Allow to use connect with not relation fields that matching id in name
Prisma information

model UserIdentity {
  id        String   @id @default(dbgenerated())
  userId    String   @map("user_id")
  provider  String
  uid       String
  name      String?
  email     String?
  createdAt DateTime @default(now()) @map("created_at")
  updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
  user      User     @relation(fields: [userId], references: [id])

  @@unique([provider, uid], name: "index_user_identities_on_provider_and_uid")
  @@index([userId], name: "index_user_identities_on_user_id")
  @@map("user_identities")
}

Environment & setup

OS: macOS
Database: PostgreSQL
Node.js version: v15.3.0
Prisma version: v2.13.0

Hello,
I am unable to reproduce this with 2.13 and latest dev version 2.14.0-dev.32.

Can you please share the reproduction inside of a git repository so that I can be sure I am trying to debug the correct code? Thanks!

Hey @pantharshit00 🙂
I think I found a problem. I don't get this error when all fields are provided, but if I don't provide a single required field (for example uid), I get this error:
Unknown arg `user` in data.user for type UserIdentityUncheckedCreateInput. Did you mean `userId`?
Argument userId for data.userId is missing.
Argument uid for data.uid is missing.

maybe it should be only:
Argument uid for data.uid is missing.

So title and description about this issue is misleading then.

I can reproduce the typescript error but I think that is expected. Relation style data input and unchecked scalar inputs are wrapped in an XOR in the type system like so:
     * The data needed to create a UserIdentity.
    **/
    data: XOR<UserIdentityUncheckedCreateInput, UserIdentityCreateInput>

XOR basically means they are mutually exclusive, if you provide one style input then you can't provide the other style. If you leave the input empty, typescript will show you all available options.

Hey @pantharshit00
I'm not using TypeScript, this is just Prisma error. But yea, we can close an issue.


[WIP] add test case id field to BelongsToMany

This test code is failed.
Because id field is saved null.

Wow, is this solved? Just wanted to check in if you didn't close this by mistake.


Enabled search by reference in registry

This pull requests enables registry search by references. It is possible to execute requests to get records by reference url, reference scheme, or both at the same time.

Included q_references_url and q_references_scheme in search api.
Included nested request to search only in references field in elasticsearch.
included tests.

Coverage increased (+0.01%) to 99.365% when pulling cc677131c67f79e2d29283d93c0af9088bd06cd4 on JorgeMartinezG:search_references into 5b7efc67391095aed8553237e738a2edd898e288 on boundlessgeo:master.


[Feature]: Create dedicated page for UI/UX Designing

Is your feature request related to a problem? Please describe.
Need a separate page for UI/UX Designing. Inspiration can be taken from Web Development and AI/ML Pages.
The resources page: https://www.nsccbpit.tech/resources
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Hi I would like to get assigned this issue. What should be included in the page?

Assign me this task. I will just find the content on my own.

@robo311 you would need to include the necessary stuff/resources one needs to learn to become expert in ui/ux

Alright, I'll look into it and start working on it.

@robo311 are you still working on this issue?

@TaherAfsar would you like to work on this issue now?

Yes

@TaherAfsar sure go ahead


Update CI to use latest LTS release of tektoncd/pipeline

Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

@tektoncd/chains-maintainers
In the github actions should I bump the pipelines release versions to

v0.53.5 (LTS)
v0.56.3 (LTS)
v0.59.2 (LTS)
v0.61.0

/test pull-tekton-chains-unit-tests

/test pull-tekton-chains-unit-tests

/test pull-tekton-chains-unit-tests

Test failures seem unrelated to changes. Let's try rebasing to pick up the https://github.com/tektoncd/chains/pull/1162 fix.


Update assert in clean relations to be approximate equality.

Update gibbs asserts to be approximate equality.
The reason this wasn't needed in the original HIRM is because sufficient statistics were ints. With the addition of real valued and other types of data, we have floating point sufficient statistics. Thus a call to incorporate/unincorporate should lead to something close to where we started, but might be slightly different numerically. Thus, the check is relaxed.

Should be fixed now (the assert wasn't handling the case where both values were exactly 0, and changing to <= fixed this).


how to disable weekends, holidays and specified dates at the same time

Is there a way to disable weekends, holidays and specified dates at the same time? And what about a time range 8am to 8pm. Is something like that possible? Thank you!

Min Max attributes are also not working.


Load Stipple app directly

Changed Stipple App loading strategy to prevent issues with temporary environments
Increased compat bound for PromptingTools to 0.43

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 33.33%. Comparing base (d552f71) to head (a6e97cb).

Files
Patch %
Lines

src/server.jl
0.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage   33.33%   33.33%
=======================================
  Files           8        8
  Lines         189      189
=======================================
  Hits           63       63
  Misses        126      126

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


TabulaMurisSenis

Project short name:
TabulaMurisSenis
Primary Wrangler:
Ami
Secondary Wrangler:
Associated files

Google Drive:

Published study links

Paper:
https://www.nature.com/articles/s41586-020-2496-1#Sec2

Accessioned data:
GSE149590

Ingest
https://contribute.data.humancellatlas.org/projects/detail?uuid=73c22527-e1d3-4e94-b081-2bd80a0ca230&tab=project
Key Events

[ ] Convert published metadata to HCA spreadsheet
[ ] Manually curate dataset to meet HCA metadata standard
[ ] Collect any matrix and cell-type annotation files
[ ] Upload sheet to validate metadata
[ ] Check linking using ingest graph validator
[ ] Transfer raw files to ingest to validate data files
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

@ami-day and @ofanobilbao to discuss priority of this dataset

Closing the ticket as this is not immediate priority. The project is in Ingest and I have done the remaining triage parts so that it has all the required information to assess if to curate later


Add momentum to the LearningRateMonitor

🚀 Feature
We should add a flag to optionally log the momentum value (for optimizers that have the attribute) in our LearningRateMonitor.
Motivation
Some learning rate schedulers (eg. OneCycle) also adjust the momentum value when updating the learning rate.
Pitch
For each scheduler's optimizer, we can check to see if it has a momentum attribute. If so, we log the value in addition to the learning rate.

cc @rohitgr7 and @Borda - what do you think? I'm happy to open a PR for this.

I like it 👍


Why it's important to check whether hypothesis was matched by id already

Example
example (p q r s : Prop) : p ∧ q → r ∧ s → true := by
  intros hpq hrs
  cases hpq
  cases hrs
  trivial

Before:

After:

Fixed by https://github.com/antonkov/paper-proof/commit/7c38ce18cba0cd24ec8c3707b672471a37e8e2b2


Anish-Dhamija_Blot

This is my art piece that i call "Unique Pieces" I chose this name because I don't really know what to call it and its art. Art has a dept, which was too much for me to choose a name for this piece. And every time you click run  you get a new result. I liked doing this project, as I was motivated to get the blot drawing machine, as I suck at hand drawgin, I just noticed this can help me a lot, and this would also be a great way in improve my js/blot skills. Had a lot of fun doing this project

Cya later,
Anish Dhamija

This is plagiarized from the gallery. It's a violation of Hack Club's code of conduct and disqualifies you from receiving a Blot.

It's okay to take inspiration from gallery pieces but it appears you took efforts to conceal adapting an existing pieces and made minimal changes to make it unique.


Return separators with choices, too, when using checkboxes

I've ran into a situation in which I had to get from a checkbox list not only the choices, but also their separators. This was because I had to pick the possible choices from a nested dictionary, where the keys of the external dictionary were the separators and the keys of the internal dictionaries were their choices. Something like this:
{
    separator1: {
        possible_choice1,
        ...
        possible_choiceN
    },
    separator2: {
        possible_choiceN+1,
        ...
        possible_choiceN+M
    },
    ...
}

The problem here is that the prompt only returns the choices, not their separators! But I have to elaborate them on a nested separator-choice for-cycle, so with only a list of choices I simply can't. For instance, I mean I have to do something like this:
for separator in dictionary:
    for choice in dictionary[separator]:
        # do stuff

Do you think it is possible to have the prompt return the separators, too? I was thinking that maybe an optional argument could be added to the prompt function which, if passed, adds to the returned choices list their separators. Something like choice (separator), so that the string can be processed to obtain both the choice and the separator and a nested dictionary like the one above, but only with the user choices, can be created.

Or maybe, to generalise, every separator could have its own ID (an index?), and every possible choice between that separator and the next one could have the same one. What do you think?


ScottPlot 4: DataLogger

This PR will track progress toward creating a new DataLogger plot type optimized for recording and displaying streaming data (#2377)

I made a lot of progress here so I'm going to merge this in, but I want to test this new plot type on real data in an IoT application so I'll wait a few days until I begin working on that sensor project:

https://github.com/swharden/FtdiSharp

New data logging plot types are in in that they:

Manage data privately, only exposing Add() and Clear()
Track axis limits as data comes in (not when GetAxisLimits() is called)
Know the Plot that contains them, allowing them to read/set axis limits
Set axis limits within the Render() function

The code is actually very simple, so different plot types should be managed by creating different plot types (e.g., ScatterDataLogger, SignalDataLogger, etc.)


Marvin Attack: potential key recovery through timing sidechannels

The Rust rsa crate has been found vulnerable in some form to the Marvin Attack.
The maintainers are actively working on a fix for this in RSA/394 .
As soon as this fix is in place, Rauthy will be updated with the new version to mitigate this attack.
A change to something like boring will not be done, because I want to stay pure Rust as much as possible and the compilation to musl targets should not be broken (which would happen with C bindings like boring).

Update:
The changes on the pure rust rsa crate seem to be quite a bit bigger.
This is not a big problem though, it only "looks ugly" to have this issue here.
The rsa crate is used by Rauthy for issuing and verifying RSA signed tokens, which do exist for compatibility only, while the default is EdDSA.
The crate is vulnerable to constant timing attacks with a medium severity only. This could potentially leak information about the private key, if RSA operations are observable over the network.
This does not apply to Rauthy!
Do take advantage of this issue, an attacker would need to observe the RSA operations while signing tokens, which is not possible, because this is done internally only.


tuf: Fix using an explicit repository path

@titanous comments addressed.
Note that the options description does not work when multiple flags are specified (I will open an issue on our fork of docopt).

LGTM


Hey, I'm trying to retrain the equibind model but I think I keep getting oom when processing the dataset, specifically in the "Get receptors, filter chains, and get its coordinates" step. I'm hoping you can tell me how much memory is required for this step and if there's a way around it. I'm training on the PDBBind dataset you have provided.

Figured it out, thanks


Make vscode Explorer vary with the terminal path

For example, in the terminal to switch paths, vscode Explorer also changes

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


charles: 4.2.8 -> 4.6.1

Motivation for this change
New Charles Proxy version. Tested both charles3 and charles4 to work.
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"
[x] 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 update was already done in #117939.


Improve build system!

This is more of a suggestion, but please use a proper (or modern) build system.
As this project grows, Makefiles can simply become confusing garbage.
I would highly recommend using Cmake or Meson as your build system here.
Not only would using a proper build system simply make the developer's lives easier, but it would also allow other projects to easily use this library in their projects.

Sorry for the late reply, but I'll make sure to do that!
I really want to have an automatic release system aswell, but I'll put that as a priority!


[Windows] Fix incorrect TimeZone.current lookup logic

The current implementation of TimeZone.current attempts to read from /etc/localtime which is not a path that exists on Windows. This leads to TimeZone.current always being GMT on Windows. Instead, this updates the implementation to call GetTimeZoneInformation, convert the Windows name to an ICU system timezone name, and initialize a timezone with that name (this matches the behavior of TimeZone on Swift 5.10 when it was based on CFTimeZone). This also restricts the default values for TZDEFAULT/TZDIR to Darwin + Linux where the paths are reasonable unlike Windows where we know these constants should never exist to avoid accidental usage in the future.
There's likely more work to be done here for Windows for a full solution (to allow in some way for developers to interface with Windows time zone identifiers so that TimeZone can interop with Windows system APIs) but this change at least fixes the critical issue and restores the Swift 5.10 behavior, we can look into adding additional API for working with Windows time zone identifiers in the future.
Resolves https://github.com/swiftlang/swift-foundation/issues/966, rdar://137451317

@swift-ci please test