Remove getStaticDirectory()

Describe the problem
As with #7798, getStaticDirectory() is unused by official adapters. Static assets are included in getClientDirectory(), and the adapter has a list of files in static, so it's not necessary.
It's quite likely that we'll want to support static: ['static', process.env.THEME] or something like that in future, and getStaticDirectory() would make that somewhat tricky.
Describe the proposed solution
Check community adapters aren't using getStaticDirectory(), and remove it.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

closed via #7809


fix(designer): Don't validate parameters and dispatch on blur if the user is still editing on the panel

Don't validate parameters and dispatch on blur if the user is still editing on the panel. This prevents the issue where the token picker for drop down list custom value would immediately get dismissed on click.

We've actually decided to revert this initial PR. we found some more bugs that seemed ot be caused by it and it would be better t find another way of doing this validation trigger than to continue batting at hte issues that pop up.


e1c bugs

1c8 areas are wrong
1c5 end trigger seems wrong?

1c5 fixed

Should be fixed as of 1.3.0


Cannot catch an exception in top level of user command

Describe the bug
Cannnot catch an exception in toplevel of user command.
To Reproduce
function s:throw() abort
  throw 'error'
endfunction

command! Execute
\   try
\ |   let s:x = s:throw()
\ | catch
\ |   echo 'caught'
\ | endtry

Execute

Detailed steps to reproduce the behavior:

Run vim --clean -S test.vim
You will see:

Error detected while processing command line..script /tmp/test.vim[13]..command line..script /tmp/test.vim[12]..function <SNR>8_throw:
line    1:
E605: Exception not caught: error

Expected behavior
Show caught.
Environment

Vim version v8.2.2123 (It can be reproduced from v8.2.2094)
OS: Arch Linux
Terminal: mintty 3.3.0

Additional context
It cannot be reproduced when try is written on top level.
function s:throw() abort
  throw 'error'
endfunction

try
  let s:x = s:throw()
catch
  echo 'cought'
endtry

It cannot be reproduced when using call instead of let.
function s:throw() abort
  throw 'error'
endfunction

command! Execute
\   try
\ |   call s:throw()
\ | catch
\ |   echo 'cought'
\ | endtry

Execute

Well, when an expression fails it doesn't check for a following command.  It could be halfway an expression and give up.
In this specific case it can work, since the whole expression was parsed.  We could check that a  bar is following, and assume that this indicates a next command.

Thank you!


Translate: Examples/03 arrays/03 Walk Over 2DArray

Changes:

translate at https://p5js-i18n-ja.pages.dev/ja/examples/arrays-walk-over-2darray page

note: Overall indentation has also been corrected.


Addition to Recruitment Options in Child Record - Weekend Family Connections

In child's record, under Recruitment Options:
When checkbox for Weekend Family Connections is checked the following should appear:
o	Date referred - prepopulate to today with manual override
o	Date visits started
Under Weekend Family Connections, add additional Child Recruitment Checkbox for "Specialized Recruitment Program", with check box for date referred.  This options should also be reflected in Child Listing Report with the other recruitment options.

Updates to Child Record:

[ ] if WFC checked - date referred date field
[ ] if WFC checked - date visits started date field
[ ] "Specialized Recruitment Coordination" checkbox

[ ] when checked - date referred field (specialized recruitment date referred)

@bchiaruttini this is deployed and ready for review in develop

looks perfect and ready to go - thanks.


Who is responsible for spinnaker images on quay

I'm trying to use the latest image of deck from quay and it fails to start. The error message is: npm command is not found. Who builds those images?

Hi @VictorDenisov, please file issues with upstream projects with the projects themselves.

@VictorDenisov @seanknox but it does not work , we should fix it.
I just simply deploy Spinnaker with helm and newest Deck image crashes :
root:spinnaker# kubectl logs spinnaker-spinnaker-deck-4123252478-44wvg
/bin/bash: npm: command not found
This image has an issue : gcr.io/spinnaker-marketplace/deck:1.3.0-72


missing character

missing character change '<yourresourcegroupname' to ''

@blueflightx7 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@blueflightx7 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@blueflightx7 Thanks for catching that, we appreciate it. :)
Change looks good to me so:
#sign-off


We should have a URL to point to a dataset immediately.

E.g.: http://energytransitionmodel.com/uk
Page should show some statistics about the Area selected (population, energy use?)

Moved to next deploy

@dennisschoenmakers what is the priority of this?

@dennisschoenmakers what is the priority of this?

Nice-to-have

I moved it to the next deploy

Page should show some statistics about the Area selected (population, energy use?)

Including @jorisberkhout @ChaelKruip @antw . Does anybody have any strong opinions what the contents of those pages should be? Are these pages purely informative?

I like the idea of having an overview page with some statistics for each dataset. Could you elaborate a little more on what you would like to be displayed, @dennisschoenmakers ?

Could you elaborate a little more on what you would like to be displayed, @dennisschoenmakers ?

I would say at least:

Country name: the Netherlands
Present year: 2013
Last updated: 2 months ago

Then we need to be able to start a new scenario from here (so the user should be able to input the end year)
We could add some basic energy stats, but I would start with the basics. :smile:

Last updated: 2 months ago

What would be the 2 months ago, the mtime of the nl.yml file in etsource or?

What would be the 2 months ago, the mtime of the nl.ad file in etsource or?

Good question! People want to know when the last update was. Maybe other files also count? What do you think? :smile:

I would say: all these timestamps:

Perfect!

Minor preview thusfar.
Page is rather empty though.

Page is rather empty though.

That's okay. Maybe we can make a bullet list of the characteristics?
And I guess people need to input the end year before they can start? How do you intend on making that? :smile:

That's okay. Maybe we can make a bullet list of the characteristics?

Yes. I think we could.

And I guess people need to input the end year before they can start? How do you intend on making that?

Well the button right now links to the front page and sets the select box to the correct country value. There the user picks the end year and creates the scenario.

Before continueing on with this issue I'd like to discuss what this page will do. It's nice to have but how will people know that there's such a page?
I can imagine that it would be nice if there's additional information about your dataset on the website of et-model itself but more in this fashion:

Where 'here' would link to the page in fashion. If you change the select box the link changes ofcourse.

Where 'here' would link to the page in fashion.

Very nice idea @grdw! This seems like a logical place for such a link!

Where 'here' would link to the page in fashion.

I like it too!

I'd swap that out for "$COUNTRY dataset information" where the whole thing is a link – for accessibility reasons – but otherwise I like the idea also.

$COUNTRY dataset information

That's a bit better. We could also go completly minimal:

Where the I would link to the set page. However this could also be interpreted as a possible popup thingy.

Well the button right now links to the front page and sets the select box to the correct country value. There the user picks the end year and creates the scenario.

Great idea!

However this could also be interpreted as a possible popup thingy.

Reminds me of a "help" button; I half-expect a pop-up to appear explaining what the country <select> does. But I like that we won't have to swap out $COUNTRY text which would be distracting to a visitor. I'm conflicted. :grimacing:

I'm conflicted

For now; I'll just use "$COUNTRY dataset information" but might there come a time when minimal design becomes (more) hip, it'll be easy to switch. :)


Governance. Vote history. Addreses for 1191 referenda on Polkadot shows in ss58=42 format

Description
On Polkadot for referenda 1191 some addresses in vote history are shown with ss58=42 format, despite that others shows with the Polkadot one. Also for another referenda addresses which votes 0 shows correctly.

Environment
https://github.com/novasamatech/nova-spektr/commit/af3f15ee5b9e094633be37a1aa25d70ad285171a

created issue:

https://github.com/novasamatech/subquery-governance/issues/30


Self referencing loop detected

I ran into a problem with my resources that reference each other, as seen below.
// ApplicationResource
BelongsTo<LevelResource>("Level");

// LevelResource
HasMany<ApplicationResource>("Applications");

The API is returning the data without an issue, but I get the following InvalidOperationException when an attempt is made to serialize the results:
"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/vnd.api+json'. Self referencing loop detected with type 'Models.Application'. Path 'Level.Applications'."

If I remove the Applications collection from the Level object the results are serialized as expected. Prior to using Saule, I got around this issue by setting the ReferenceLoopHandling property on JsonFormatter.SerializerSettings to ReferenceLoopHandling.Ignore.
I wasn't sure if this was related to #18 or if it's something else.

#18 was something else; the app would crash at startup time. This looks like an issue with the way Saule uses Json.Net. I think it might be safe to always set that option (ReferenceLoopHandling.Ignore), but I'll have to investigate.
Thanks for reporting this.

I published a pre-release that should support this use-case. Since JSON API doesn't allow for recursion anyway, it's safe to always set this option to Ignore within Saule.

Works perfectly. Thanks again for the quick response.


Indicate absence with a boolean return, instead of nil pointers

...per discussion.

Rebased on top of v2 and fixed some linter errors. Should be good to go now.

Sorry, I didn't mean that I want you to implement it but thanks for the code! I'll first put up an issue for this change to see to make sure that no one has any obligations.


Can not build Petalinux 2022.1 with VitisAI 2.5 - Fetch fails, mirrors not available

Added VitisAI 2.5 as user package like described in the manual.
While building VitisAI this output is shown:
WARNING: unilog-2.5-r0 do_fetch: Failed to fetch URL git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5, attempting MIRRORS if available
ERROR: unilog-2.5-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; (...)
ERROR: unilog-2.5-r0 do_fetch: Fetcher failure for URL: 'git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5'. Unable to fetch URL from any source.
WARNING: xir-2.5-r0 do_fetch: Failed to fetch URL git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5, attempting MIRRORS if available
ERROR: xir-2.5-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; (...)
WARNING: target-factory-2.5-r0 do_fetch: Failed to fetch URL git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5, attempting MIRRORS if available
ERROR: target-factory-2.5-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; (...)
ERROR: target-factory-2.5-r0 do_fetch: Fetcher failure for URL: 'git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5'. Unable to fetch URL from any source.
WARNING: vitis-ai-library-2.5-r0 do_fetch: Failed to fetch URL git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5, attempting MIRRORS if available
ERROR: vitis-ai-library-2.5-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; (...)
WARNING: vart-2.5-r0 do_fetch: Failed to fetch URL git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5, attempting MIRRORS if available
ERROR: vart-2.5-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; (...)
ERROR: vart-2.5-r0 do_fetch: Fetcher failure for URL: 'git://gitenterprise.xilinx.com/Vitis/vitis-ai-staging;protocol=https;branch=2.5'. Unable to fetch URL from any source.

I removed the paths within the error message to make it more "readable"
Rly have no idea what to do here...

There are two releases : one is a branch called "2.5", and the other is a tag called "v2.5".
You are using the last one, but should be using the first one.
Make sure you are using this one (which has a valid (public) github.com repository URL):
https://github.com/Xilinx/Vitis-AI/blob/2.5/setup/petalinux/recipes-vitis-ai/vitis-ai-library/vitisai.inc
Do not use this one (which has the invalid (private) gitenterprise.xilinx.com URL):
https://github.com/Xilinx/Vitis-AI/blob/v2.5/setup/petalinux/recipes-vitis-ai/vitis-ai-library/vitisai.inc
Cheers !
Mario.

Well this was it! Thanks a lot @AlbertaBeef !
I took the https://github.com/Xilinx/Vitis-AI/releases/tag/v2.5 Release - This should be changed in there as well. Releases are here to be used :D


Allow for slot suppression from logging

Some slot values may include PII. This configuration allows the ability to suppress certain slots, by name, so that they aren't reported to GA, and so no PII is stored.

Coverage decreased (-9.0%) to 54.741% when pulling 446dff438729ebf9ed8a781caf11e60652a3a19f on suppress-slots into 97a59d4d6a7ac028be4190623cc36ab17d55133e on master.

It says that coverage decreased, but I actually added unit tests, so I suspect this is because someone did a direct push w/o a PR that decreased test coverage.

Seems like it's missing documentation

Looks good to me. Just  need to add how to use on the README file. @heneryville

🤦♂  Well, that's why we do code reviews. Thanks for reminding me. Another look?


I got a error when I Integrate spring boot with sharding jdbc

I use 4.0.0-RC1 sharding jdbc and 2.1.6.RELEASE spring boot.
My config file is:

And My test code is :

I got a error when I run the application.The error is:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testC': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/apache/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalArgumentException: Type is required.
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalArgumentException: Type is required.
My spring boot pom.xml is

Please add spring.shardingsphere.sharding.tables.t_order.key-generator.type=SNOWFLAKE and retry.

@KomachiSion  I follow you add spring.shardingsphere.sharding.tables.t_order.key-generator.type=SNOWFLAKE or spring.shardingsphere.sharding.tables.t_order.key-generator.type=UUID and retry. But I got a error is:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testC': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/apache/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/apache/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.NullPointerException
My config file is：

Remove spring.shardingsphere.sharding.binding-tables and retry.
You can take a look example sharding-jdbc-example.
Use application-sharding-tables.properties

Hi @dahaian, If no more question, We will close this issue.


Add min, max input fields to set image intensity range

I can/should probably contribute to this item, but with min/max/thresholding, I think it will be already on-par with ACElab brainviewer that we are currently using (and no longer maintained?)
Here are the controls that are available through brainviewer

Once this is done, I can add it to the available visualizer for various 3D nifti datatypes on brainlife.io

@soichih , thanks! I think this could be a great first contribution. Hold off for a week or two so that I can update some observables (events) and how they are used within the NiiVue-UI project. #19. It will be much cleaner.

OK no rush!
By the way, another visualizer that I'd like to add to brainlife is https://github.com/OHIF/Viewers I think this is mainly for dicom, but I believe flywheel uses it to somehow display nifti. I am not sure how complex you want niivue-ui to be, but it might be good to draw some road map on features that we'd like to add near/long term?


Problem/Question: Offline Impossible?

It looks like the js file is trying to download an external css file from the below links, 7 or 8 of these type external files.
uicdn.toast.com/tui-color-picker/v2.2.0/tui-color-picker.min.css
Is there a way to use the plugin offline? Internet won't always be available for us and I think this is the only plugin I've seen with this issue.

You can include all TUI Editor resources in your html file and pass an empty script option script: [], this will disable the default download of scripts and styles.


unable to install in windows terminal

was unable to configure correctly to install in windows terminal

Hi, I'm sorry to hear you're experiencing issues installing our CLI on Windows Terminal.
Could you please specify which installation method you used? We offer four methods: go install, Homebrew, downloading the binary directly, and using winget.
Knowing the method you used will help us assist you better. Thanks!

I Attempted to install via winget

The winget installation method worked fine on my end, but it seems there are cases where it doesn't go smoothly.
Do you have Go installed? If you use go install, we have confirmed that it works for others. Alternatively, you could manually download the executable file and run it directly.

The winget installation method is still relatively new with fewer use cases, so I'll conduct some additional testing on my end.

Fixed, Just had to clear the defaults for .sh files on my system

Great to hear, I'm glad it worked out for you!


Map search functionality

Currently the map is not searchable (user must manually zoom around & click individual station tag to find stations of interest). It will be good to have some search function for the map (filter by range of drainage area, data availability period, location/proximity, etc.)

Frequency distribution fitting can add an objective evaluation (Goodness of Fit tests). Maybe a table or figure using nsRFA::MSClaio2008()?
https://cran.r-project.org/web/packages/nsRFA/vignettes/MSClaio2008.pdf

Frequency distribution fitting can add an objective evaluation (Goodness of Fit tests). Maybe a table or figure using nsRFA::MSClaio2008()?
https://cran.r-project.org/web/packages/nsRFA/vignettes/MSClaio2008.pdf


Organization permissions for visibility on profile

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Benefits of Setting Organization Permissions for Profile Visibility

Enhanced Privacy Control: Users can choose who sees their profiles, which can help protect personal information and reduce unwanted contact.

Customizable Visibility: Allow users to set different visibility levels, such as public, organization members only, or private, enabling them to tailor their profiles based on their preferences.

Improved User Experience: Giving users control over their profile visibility can lead to a more comfortable experience, encouraging engagement within the organization.

Streamlined Collaboration: By limiting visibility to organization members, it can foster a more collaborative environment while keeping sensitive information secure.

Suggested Features

Visibility Options: Provide clear options for users to select their preferred visibility settings directly in their profile settings.

Notifications: Notify users of any changes to visibility settings or permissions, ensuring they are aware of who can see their profile.

Admin Controls: Allow organization administrators to set default visibility settings for all members while still permitting individual adjustments.

Audit Logs: Implement logs to track changes in visibility settings, providing transparency and accountability.

What part(s) of the article would you like to see updated?
Benefits of Setting Organization Permissions for Profile Visibility

Enhanced Privacy Control: Users can choose who sees their profiles, which can help protect personal information and reduce unwanted contact.

Customizable Visibility: Allow users to set different visibility levels, such as public, organization members only, or private, enabling them to tailor their profiles based on their preferences.

Improved User Experience: Giving users control over their profile visibility can lead to a more comfortable experience, encouraging engagement within the organization.

Streamlined Collaboration: By limiting visibility to organization members, it can foster a more collaborative environment while keeping sensitive information secure.

Suggested Features

Visibility Options: Provide clear options for users to select their preferred visibility settings directly in their profile settings.

Notifications: Notify users of any changes to visibility settings or permissions, ensuring they are aware of who can see their profile.

Admin Controls: Allow organization administrators to set default visibility settings for all members while still permitting individual adjustments.

Audit Logs: Implement logs to track changes in visibility settings, providing transparency and accountability.

Additional information
No response

Hi @radwanromy 👋 The best place to send your feedback regarding GitHub as a product is to https://github.com/github/feedback/discussions.
If there's anything in the documents that you have suggestions for updating, please feel free to open an issue.


errro on run

I downloaded flutter sdk and android sdk and set variables ANDROID_HOME , JAVA_HOME and flutter bin to path variable. I did it for my labtop win 10 and run it by vscode correctly.
I copied flutter sdk & android sdk & jdk1.8.0_161 folders to my work pc win 10 and set above variables , vscode flutter run get error :
Launching lib\main.dart on HTC One M9 in debug mode...

Error running Gradle:
ProcessException: Process "E:\Projects\Flutter\app1\android\gradlew.bat" exited abnormally:

FAILURE: Build failed with an exception.

What went wrong:

A problem occurred configuring root project 'android'.

Could not resolve all artifacts for configuration ':classpath'.

Could not resolve com.android.tools.build:gradle:3.2.1.

 Required by:

     project :

  > Could not resolve com.android.tools.build:gradle:3.2.1.

     > Could not get resource 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom'.

        > Could not HEAD 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom'. Received status code 503 from server: Service Unavailable

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

BUILD FAILED in 11s
Picked up _JAVA_OPTIONS: -Xmx512M
Command: E:\Projects\Flutter\app1\android\gradlew.bat app:properties
Please review your Gradle project setup in the android/ folder.
Exited (sigterm)

What version of flutter are you using?

I tested both v1.3.8 beta and v1.2.1 Stable.


Clavel 2023

Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-environmental (README)
[ ] ancientmetagenome-hostassociated (README)
[x] ancientsinglegenome-hostassociated (README)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): https://doi.org/10.1016/j.isci.2023.106787
This is to close #1078
Checklist

[x] Publication is published (preprints currently not accepted)?
[x] Checked the publication is not already in the database?
[x] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[x] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[x] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[x] Changelog is updated to include the publication under 'Added'?
[x] Pull request has passed validation checks (see automated comment from github-bot)?
[x] Review requested from @SPAAM-community/ancientmetagenomedir?
[x] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here:

Deleted spaces between ERS's

Why the "checks have failed"?

Overenthusiastic version pinning :grimacing:

Waiting on final answers from first author


Unhandled exception. System.Exception: Could not determine if this is a Clonezilla folder, or a partclone file

Hi, I'm new to the clonezilla-util, problem might be between chair and keyboard....but this is what is happening to me:
I have a image separated into 5 gz files to fit FAT32 file systems and hash file included.
my_image.gz.aa
my_image.gz.ab
my_image.gz.ac
my_image.gz.ad
my_image.gz.ae
my_image.hash.txt
When I try to mount the image via "clonezilla-util.exe mount-as-image-files --input C:\Temp\my_image\ --mount L:"
I get following error message:
[11:23:32 INF] clonezilla-util v2.0.4
Unhandled exception. System.Exception: Could not determine if this is a Clonezilla folder, or a partclone file: C:\Temp\my_image
at libClonezilla.PartitionContainers.PartitionContainer.FromPath(String path, String cacheFolder, List1 partitionsToLoad, Boolean willPerformRandomSeeking, IVFS vfs)    at libClonezilla.PartitionContainers.PartitionContainer.<>c__DisplayClass8_0.<FromPaths>b__0(String path)    at System.Linq.Enumerable.SelectListIterator2.ToList()
at System.Linq.Enumerable.ToListTSource
at libClonezilla.PartitionContainers.PartitionContainer.FromPaths(List1 paths, String cacheFolder, List1 partitionsToLoad, Boolean willPerformRandomSeeking, IVFS vfs)
at clonezilla_util.Program.MountAsImageFiles(MountAsImageFiles mountAsImageOptions)
at clonezilla_util.Program.Run(Object obj)
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action1 action)
at clonezilla_util.Program.Main(String[] args)
So far so good I thought, let's extract the image first. Well, only a single archive of those 5 get's extracted when I execute clonezilla-util.exe extract-partition-image --input C:\Temp\my_image\my_image.gz.aa --output C:\Temp\my_image\extracted
Am I doing something wrong? Or is there an issue with this use case?
BR & Thx

Hi Johnny,
Thanks for reporting this. Everything you've tried is logical :)
Could you please upload the file called clonezilla-img?
Thanks!
Fidel


Ability to start tracking automatically on launch

Currently the app requires the user manually choose to enable broadcasting/receiving of private tokens. Perhaps this could occur automatically so the user doesn’t need to remember to start it each time.
Alternatively, start it when the user begins exposure checking, since that has a permissions dialog, and exposure checking wouldn’t effectively work without emailing tracking.

The workflow has now been altered so there's a single "start tracing" button, which enables both the bluetooth key exchange and checking in the background for exposures.


sort shelters handler

js
by default:
sorts shelters in alphabetical order
set animals to "all animals"

cancelled functionality


[riverpod.dev] Getting started could provide more info on hooks and/or flutter_hooks

Describe what scenario you think is uncovered by the existing examples/articles
Browsed through riverpod.dev for first time, and had some difficulty deciding on which package to use for a Flutter app at https://riverpod.dev/docs/getting_started. It only took a min to understand when to use flutter_riverpod vs riverpod, but much longer for hooks_riverpod vs flutter_riverpod. There is a table, but the descriptions do not provide enough context to make a decision.
The ordering of the table implies to maybe start with only flutter_riverpod, and the following section: "Installing the package" has a different order, and suggests that hooks should be used when getting started.
Describe why existing examples/articles do not cover this case
Hooks are eventually expanded upon in https://riverpod.dev/docs/concepts/reading , but it would still might be helpful to get an intro to hooks in the getting started guide. A few sentences can probably be borrowed from theflutter hooks pub package, and riverpod should probably also make a stronger opinion on what the best practice is for use cases.

Possible fix
Add a footnote to the hooks description in table beyond: A way to use both [flutter_hooks](https://github.com/rrousselGit/flutter_hooks) and [Riverpod](https://github.com/rrousselgit/riverpod) together. explaining what hooks are and who might want to use them.

The docs now has an "About hooks" page https://docs-v2.riverpod.dev/docs/about_hooks


How to use string array values as object keys?

I have a list of strings: const filenames = z.enum(['one', 'two', 'three']);
..and want use those values as the possible keys of an object:
const hashes = z.object({
    [filenames]: z.string().length(40)
});

Is something like that possible is Zod? Any suggestions?

p.s. I know going to other way is possible with z.object({}).keyof() but that's not what i'm looking for.

Is this what you're looking for?
https://github.com/colinhacks/zod#records
const filenames = z.enum( [ 'one', 'two', 'three' ] )
const hashes = z.record( filenames, z.string().length( 40 ) )
type Hashes = z.infer<typeof hashes>
// type Hashes = {
//     one?: string | undefined
//     two?: string | undefined
//     three?: string | undefined
// }


fix Fix forward query exception or stuck or potential query result loss (#41303)

Proposed changes

Fix forward query exception if no status code is set in master execution. EOF may result in this status.

Fix forward query stuck due to no result packet sent to mysql channel. Should use result packets from master.

Fix potential forward query result loss if follower can read status change during query process. Should judge by the status once before execution.

Add assertion for regression test.

run buildall


alibi performance fixes

Attempt to reduce memory usage from alibi embeddings. Running some ablations to test

@ofirpress would you mind reviewing too?

LGTM, but the way to fully verify this is to train a model with it and compare it to a sinusoidal or learned position emb baseline.
You should see:

ALiBi should run just as fast as the baseline during train/inf.
ALiBi should use at most ~200MB of extra memory, not more.
ALiBi PPL should be slightly better (even when we train and evaluate on sequences of the same length).
ALiBi should be able to handle sequences that are 50% larger and PPL should go down. (So for example if you train on 1000 tokens and get 12 PPL at inference with 1000 tokens, try evaluating on 1500 tokens and you should see PPL go down, maybe to like 11...)

If this doesn't occur then ping me and me and Mike will look into it

A couple of issues I found so far to integrate Alibi with our code:
(Minor / fixable):

One host to GPU transfer required, alibi bias tensor was in CPU;
We compute multihead attention using model parallelism split across attention heads, and given alibi generates different mask values per head, we have to split the mask across the same dimension too.

(Maybe serious problem):

We rely on megatron fused kernels to apply mask + compute softmax, and they only work when the mask across attention heads is the same. I took a brief look at the megatron kernel code but too obscure for me, couldn't figure out how to generalize it: https://github.com/NVIDIA/Megatron-LM/blob/e156d2fea7fc5c98e645f7742eb86b643956d840/megatron/fused_kernels/scaled_masked_softmax_cuda.cu#L43

I don't know however how important just this kernel is to us. Megatron paper claimed about ~10% throughput increase across all fused kernels they used, but IIUC that included fused kernels for element-wise operations too (bias +
GeLU and bias + dropout + add): https://arxiv.org/pdf/2104.04473.pdf
cc @ngoyal2707 in case you have any thoughts

Some thoughts:

We compute multihead attention using model parallelism split across attention heads, and given alibi generates different mask values per head, we have to split the mask across the same dimension too.

Please tell me if this becomes too much of an issue. Me and Stephen talked about how if you have 96 heads lets say, its totally fine to break them up into groups of 8 or 16 and have each group use the same ALiBi slope, if that makes things faster or easier.
But I also think it would be possible to make this work without that workaround.

megatron
I know very little about this, so I might be totally wrong here, but BigScience used megatron, maybe they've solved this problem?

Abandoning for concerns with integration with flashattention.


Editor jumps to end of file

Issue Type: Bug
In a Typescript file with several linter/compiler errors, and with format-on-save enabled:

Save the file, which triggers a formatting change.
After the save and autoformat are complete, if I hit the right-arrow key (with no other keys held), the editor jumps to the end of the file.

This seems to be new behavior as of the last release or two. I hadn't pinned down what was happening until just now. At first I thought maybe I was hitting the arrow key too quickly, lumping it into some key chord, but this happens even if I wait several seconds after the save.
As mentioned, the file has several linter/compiler errors after the save. The problem doesn't seem to occur in other files with no errors, but I didn't do very robust testing. Here's the compiler output (I'm in the middle of some refactoring):
src/deploys/util.ts(199,7): error TS2451: Cannot redeclare block-scoped variable 'attachment'.
src/deploys/util.ts(205,5): error TS2304: Cannot find name 'created'.
src/deploys/util.ts(222,16): error TS2304: Cannot find name 'inputStr'.
src/deploys/util.ts(223,57): error TS2304: Cannot find name 'inputStr'.
src/deploys/util.ts(226,9): error TS2451: Cannot redeclare block-scoped variable 'attachment'.
src/deploys/util.ts(236,16): error TS2304: Cannot find name 'defaultValue'.
src/deploys/util.ts(243,3): error TS2322: Type 'MessageAttachment | undefined' is not assignable to type 'MessageAttachment'.
  Type 'undefined' is not assignable to type 'MessageAttachment'.

VS Code version: Code 1.22.1 (950b8b0d37a9b7061b6f0d291837ccc4015f5ecd, 2018-04-06T00:21:13.607Z)
OS version: Darwin x64 17.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.28GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_930019

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

vscode-docker
Pet
0.0.26

Bookmarks
ale
0.18.2

cucumberautocomplete
ale
2.9.0

django-html
bib
1.2.0

better-toml
bun
0.3.2

plsql
cas
0.0.3

vscode-standardjs
che
1.2.1

gitignore
cod
0.5.0

mustache
daw
1.1.1

gitlens
eam
8.2.1

prettier-vscode
esb
1.2.2

black-vscode
jos
2.0.2

recent-files
jun
1.1.10

Go
luk
0.6.78

python
ms-
2018.3.1

jenkinsfile-support
sec
0.1.0

rewrap
stk
1.8.1

vscode-todo-highlight
way
0.5.12

jinja
who
0.0.8

vscode-open-in-github
ziy
1.3.1

(1 theme extensions excluded)

Duplicate of #47382 Should be fixed in an upcoming 1.22.2 release

👍 Thanks!


Default config for vertical grouping has bad results for vertically aligned checkboxes

I am creating this issue to help anybody having the same issue with vertically aligned checkboxes not being detected well.
The group_size_range config option gets overwritten to a hardcoded value of (1, 1) at the start of the get_checkboxes pipeline. So setting that config option does nothing when using this function.
By default in the config the vertical_max_distance option is set to 10, meaning if you are trying to detect vertically aligned checkboxes (like in a form) it will give really bad results as it will see the whole column as a single group. I don't know if this is intended and what the use case is. I don't quite understand the grouping logic in the library.
Ways to fix it would be to either set this option to 0, and then find and filter out unwanted close detections with your own needed logic. Or copy over the get_checkboxes function without that first hardcoding line (but this might group horizontal checkboxes). I don't understand the difference between the vertical and the horizontal grouping but vertical grouping for checkboxes seems to be a bit faulty.

Hi @martinkozle !
Thanks for sharing your issue.
Looking back I agree that putting that hardcoded (1,1) value for group_size_range wasn't the best practice but I can definitely share some of the logic behind it:

The grouping params and logic is used for cases where you want to detect character boxes on forms and group them such as here:

For get_checkboxes pipeline I used group_size_range = (1,1) to completely avoid grouping and treat every detection as a separate entity of a checkbox instance

In my work I haven't seen an example where it would be useful to actually group checkbox detections

If current pipeline configuration for detecting checkboxes fails to detect some checkboxes on your input data, maybe you could share such example and I could investigate what is the problem there?

Let me know if that helps in anyway!

I can't really send the real images that I was working with. So I tried recreating the issue with an image I found on the internet:

With these options:
cfg = config.PipelinesConfig()

# important to adjust these values to match the size of boxes on your image
cfg.width_range = [(10, 50)]
cfg.height_range = [(10, 50)]

# the more scaling factors the more accurate the results but also it takes more time to processing
# too small scaling factor may cause false positives
# too big scaling factor will take a lot of processing time
cfg.scaling_factors = [0.7, 0.9, 1.0, 1.2, 1.5, 2.0]

# w/h ratio range for boxes/rectangles filtering
cfg.wh_ratio_range = [(0.9, 1.1)]

# num of iterations when running dilation tranformation (to engance the image)
cfg.dilation_iterations = [0]

checkboxes = get_checkboxes(img, cfg=cfg, px_threshold=0.1, verbose=True)

img_vis = img.copy()
for (x, y, w, h), _, _ in checkboxes:
    img_vis = cv2.rectangle(img_vis, (x, y), (x+w, y+h), (0, 255, 0), thickness=3)

It found 0 checkboxes.
By setting only vertical max distance:
cfg.vertical_max_distance = [0]

I get a couple of checkboxes detected:

By setting only horizontal max distance:
cfg.horizontal_max_distance = [0]

I get all checkboxes detected:

And by setting both options I also get all checkboxes detected
This is why I was confused with the grouping regarding checkboxes.
Unrelated to this, on my data the checked checkboxes had big checks and X marks that extended far outside the checkboxes that made the square contours approach not really work. So in the end I made my own solution from scratch that only uses kernels and filter2D to find checkboxes that works well in my case (not a general solution).
Thank you for your help. I hope that you can also reproduce the same issue and that it helps in improving the library.


Change from "menu" to "menù" in Italian translation.

In Italian, writing menù is more correct than menu ( see https://it.wikipedia.org/wiki/Menù ).

Thank you!


[TEST] Triggering the ADO tests

Description

This is a test to understand why the ADO tests in the PR https://github.com/microsoft/recommenders/pull/1565 are not being triggered
Related Issues

Checklist:

[ ] I have followed the contribution guidelines and code style for this project.
[ ] I have added tests covering my contributions.
[ ] I have updated the documentation accordingly.
[ ] This PR is being made to staging branch and not to main branch.

@anargyri I found out that the tests in ADO are being executed, and they all pass. However, the unit tests don't appear in the Github options, only the ones with notebooks. Also, if we go to settings the unit tests are not listed, I can't even find them: https://github.com/microsoft/recommenders/settings/branch_protection_rules/6371109

@anargyri in addition, some of the the Github action tests are breaking. For example, the GPU one fails because numba is not detecting a GPU. FYI @laserprec any idea what could be happening?

@anargyri in addition, some of the the Github action tests are breaking. For example, the GPU one fails because numba is not detecting a GPU. FYI @laserprec any idea what could be happening?

There is no cuda 11 installed on the GitHub hosts. I will add new hosts that have cuda 11.

I think I fixed it with the last PR. Tests are passing here https://dev.azure.com/best-practices/recommenders/_settings/agentqueues?queueId=93&view=jobs

In a couple of hours we can also check if the badge goes green.

There is a warning in https://dev.azure.com/best-practices/recommenders/_build/results?buildId=54454&jobId=a2bd9722-611a-5a1a-49b7-b5d4cc326141&view=results about status of runs not being reported.
"Failed to post status to GitHub for repository microsoft/recommenders with error: "Not Found". Verify that the GitHub credentials are still valid on the service connection. For OAuth connections, verify that Azure Pipelines is granted access to the repository's organization https://go.microsoft.com/fwlink/?linkid=2019209"
The link takes me to the OAuth allowed apps. I don't see Azure Pipelines though. What do you see at this link?

this is what I see, do you see the same?
I can try to revoke the access and try to connect again?

 this is what I see, do you see the same?
I can try to revoke the access and try to connect again?

I don't see this because the link takes me to my personal GitHub. But if you see it then the settings should be ok, shouldn't they?

ADO tests have altogether disappeared from the checks.

ADO tests have altogether disappeared from the checks.

this is weird and annoying. Maybe we can wait until Pradnyesh finish the AzureML tests and remove all this altogether?

closing this, because it was an old test


fix: Check whether the live-server before varlet preview

Checklist

[x] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information
I ran pnpm perview command in varlet-playground, but the error live server was reported.I found that it was caused by the lack of global installation of live server. So i checked for live server before it work.

Codecov Report

Merging #363 (0337045) into dev (73426b2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #363   +/-   ##
=======================================
  Coverage   96.39%   96.39%
=======================================
  Files         209      209
  Lines        4905     4905
  Branches     1047     1047
=======================================
  Hits         4728     4728
  Misses        177      177

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 73426b2...0337045. Read the comment docs.

Live-server is peer dependencies of the @varlet/cli, but not install in playground. you should add live-server in package.json devDependencies


Virtual Server: Cannot List all Subclients or List all VMs within...

I'm trying to find some means of finding the backup status of a VM. I tried listing all subclients in the defaultBackupSet of a Virtual Server type agent, but that's not a thing I can do it seems. I want to find a specific VM buried in one of the several subclients in the default set. I can name a specific set and find it if it's in there, but I can't just list them all, loop through them and find them?
The backup status of a File System agent would also be ideal. Like, date/time of last full or incremental backup.
Is there a way to parse through the Backup history log of a given virtual server agent?

HI sephethus,
we can use this API ,
/VM?propertyLevel=AllProperties&status=1 - It will return all the VMs backed up in that commcell
The response of this API will have field called backup job Id . The backup job id is the last job that backed up this VM.
you can use /Job API to check the status of that job if you want.
Hope i answered your question

Hi @sephethus,
I believe this should help you.
For any enhancement requests with SDK please open a support ticket.
Thanks,
Sachin


TypeError: 'type' object is not subscriptable

Getting this error when trying to run 'python gradio_app.py'
Traceback (most recent call last):
File "gradio_app.py", line 11, in
from drag_gan.drag_gan import DragGAN
File "D:\Projects\Python\DragGAN\drag_gan\drag_gan.py", line 77, in
class DragGAN:
File "D:\Projects\Python\DragGAN\drag_gan\drag_gan.py", line 93, in DragGAN
def params(self) -> dict[str, Any]:
TypeError: 'type' object is not subscriptable
any idea how you can fix it?

I think that maybe is the python version. If I remember correct, previous version than 3.7 needs typing.Dict in contrast to dict. Which python version are you using?

I am using Python 3.8.6 version

Sorry, the problem is not that it is 3.6.
Starting with 3.6, typing was introduced, but it wasn't until 3.9 that typing.Dict was replaced by dict. I'm using 3.9.
There are several ways to fix the problem:

The simplest is to update your environment to 3.9.
Add from __future__ import annotations to the first line of the file.
Import typing.Dict and replace dict with Dict.

from typing import Dict , Any,List， Not only dict


iosevka-bin: 10.1.0 -> 11.3.0

Motivation for this change
Update iosevka fonts (pre-built) to latest
Used update-bin.sh
FWIW "default" variant has update available (it's on 11.0.1) but leaving
that out as it requires regenerating nodePackages too
(which perhaps is better reviewed/updated separately, but also due to local conditions (I think) the update script was taking 3+hrs so leaving that for later :)).
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

(which perhaps is better reviewed/updated separately, but also due to local conditions (I think) the update script was taking 3+hrs so leaving that for later :)).

Done in  #161047, and it really takes that long :(

Great, thanks for handling that.  And d'oh that it takes so long, oh well :).
Looks like Iosevka is flying along with releases, closing this in favor of #162244.


Allow views on measurements without required tags to succeed

See #659. So far this just adds a failing test, but I intend to submit a fix for this once the correct behaviour has been decided.

Label this as do not merge please (even though CI should fail).

Working on a fix.

Fixed in https://github.com/census-instrumentation/opencensus-go/pull/989


Made several important lines bolder

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @Makeyka
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


How to remove Shadow

Thanks for this great useful library,
I need to remove the shadow of SafeAreaView.

I'm experiencing the same issue. I tried playing with zIndex for all the views too and no luck

Same over here, did you managed to find something ?

same.

This is related to react-navigation. You remove it like this:
https://stackoverflow.com/questions/48361898/how-to-remove-internal-shadow-of-react-native-stacknavigator-when-using-safearea
const Routes = StackNavigator({
  // ...
}, {
  headerMode: 'none',
  cardStyle: { shadowColor: 'transparent' }, // < == this
});

@gianpaj solution didn't work. However, I played around with stuff more and determined that reducing the shadowRadius of my Toolbar removed the shadow between my toolbar and the status bar. It appears that the child of the SafeAreaView in the original screenshot has a shadow applied, so likely that needs to be modified (if needed at all). Here is the shadow definition for my Toolbar:
    shadowColor: 'black',
    shadowOpacity: 0.26,
    shadowRadius: 0.3 * elevation, // elevation = 4
    shadowOffset: {
      width: 0,
      height: 0.5 * elevation,
    },

don't wrap your entire app in a safe area view, you need to use it selectively. https://reactnavigation.org/docs/en/handling-iphonex.html explains

Current docs for using it with React Navigation: https://reactnavigation.org/docs/handling-safe-area/

The only way I found so far is this ugly thing:
elevation: 601,

On my phone 601 is the first elevation for which it works, with 600 it produces strange things. I can imagine that this limit depend on context so if you use this even uglier thing, that should always work:
elevation: 10**10,

I wonder why they have such a weird API on android … Why did they chose to mix zIndex logic with shadow logic, that's so restrictive for users.


Handle audit feedback issue 425

This contains some changes to the bridge contracts based on feedback from the audit.
Please do not merge this yet and wait until we received yoichi's feedback.
see #355 and #425

Codecov Report

Merging #436 into master will increase coverage by 6.47%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #436      +/-   ##
==========================================
+ Coverage   85.66%   92.13%   +6.47%
==========================================
  Files          16       16
  Lines         865      865
==========================================
+ Hits          741      797      +56
+ Misses        124       68      -56

Flag
Coverage Δ

#bridge_end2end
85.66% <ø> (ø)
:arrow_up:

#bridge_unit
75.95% <ø> (?)

Impacted Files
Coverage Δ

tools/bridge/bridge/config.py
86.41% <0%> (+2.46%)
:arrow_up:

tools/bridge/bridge/confirmation_task_planner.py
100% <0%> (+2.85%)
:arrow_up:

tools/bridge/bridge/confirmation_sender.py
87.09% <0%> (+3.22%)
:arrow_up:

tools/bridge/bridge/main.py
84.21% <0%> (+3.5%)
:arrow_up:

tools/bridge/bridge/webservice.py
100% <0%> (+4.65%)
:arrow_up:

tools/bridge/bridge/contract_validation.py
100% <0%> (+7.4%)
:arrow_up:

tools/bridge/bridge/validator_status_watcher.py
97.36% <0%> (+7.89%)
:arrow_up:

tools/bridge/bridge/event_fetcher.py
100% <0%> (+10%)
:arrow_up:

tools/bridge/bridge/service.py
92.3% <0%> (+11.53%)
:arrow_up:

tools/bridge/bridge/transfer_recorder.py
97.89% <0%> (+12.63%)
:arrow_up:

... and 1 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 963b2c9...c01c797. Read the comment docs.

Can this be merged?

yes, after it has been reviewed.


Request : Esoteric Warden

Esoteric warden gives a bonus to AC + Save against the next time the exploited creature attacks you.
It works great in the module, but would it be possible to split the bonuses into 2 separate effects(1 for AC, 1 for Saves)?
That way when a creature attacks you for the first time, you could right click remove the appropriate bonus, but still keep the other one active until needed.
thank you

It does this automatically already. Check the bonuses after getting hit or making a save and the bonus to one or the other is automatically removed. If it is not, let me know.


[WIP - DONT MERGE] Add EVERYTHING!!!

Mostly just expiremental at this point. Adds a whole bunch of options.

Features added:

Code folding: arrows in the gutter allow you to fold whole sections of markdown / code.
Tag and Brace Matching: If your cursor is near an opening / closing brace, that brace is highlighted bright green, as is it's companion. Same with html tags.
Tag and Brace auto closing: If you type an opening brace / tag, the closing one is automatically added.
Comment continuation: If you hit enter on a comment line, the next line is automatically a comment line (not sure I like this).
List continuation: If you hit enter while in a list, the newline is automatically outdented to match. (I definitely like this).
Show trailing space: (not working) - It should show trailing whitespace in the editor. I think I'm missing a CSS class.
Search: Not sure this is worth it, seems to be pretty close to what CMD+F gives you in chrome anyways. It does have RegExp support, which is nice.
Search and Replace: (not working) - It should give you search and replace.
Keymap - Installs the sublime keymap: https://codemirror.net/demo/sublime.html
Simple ScrollBar - Not sure it's worth it. Installed while trying to get 11 to work
Search results on scrollbar: (not working) - show search result matches in the scrollbar.

Nice! This is awesome! A few comments, where the number corresponds to your line item above:

👍
👍 👍
👍 👍 👍
I've always disliked that in my editor. Good candidate for a setting in our options page
👍
Won't use it personally, but another good candidate for being configurable
I personally dislike search fields in text areas on a page, but I'm fine with it if it's configurable
Indifferent
👍 👍 👍 Will use that frequently
Isn't there already a scrollbar (just the native browser one)?
Same as #7, cool with including being a configuration flag

Going to hold off on a merge of this now, just because there are a few things I'd like to make sure start off being configurable. I'm pretty close to having the basics of options working, though, so we should be able to implement this soon.

Yeah, this was more an experiment in how to use codemirror.

I pushed an update that enables the brace/paren matching and auto-closing. Couldn't live without it :)

We need to figure out how to make it the default choice. I keep forgetting to use it.

Agreed. My weekend is crazy, but I'm hoping to tackle that early next week.

We're blocked on that until we figure out @ popups, right?

Yes and no. We're blocked on replacing the Write tab entirely while we don't have the @ popups. However, I'd like to add an option to set Code to the default for the time being. That way, you default to Code, but can use the hotkey to switch over to write when you need autofill for an @mention.


using DAL  to Web project that configs file can't be founded.

When the project is website. The project  directory can't be resolve correctly. The issue i found just make a little adjust. So it can be fix.
Please see  like below. '
File:
DefaultConnectionString

Fixed Code:
 String filepath = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, configPath);
               using (var stream = new FileStream(filepath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
               {

Accepted.

Issue fixed,thanks for the info.


Add credit option to ArcGisMapServerImageryProvider

I noticed that the ArcGisMapServerImageryProvider doesn't allow for a credit option, possibly because it may be overriden by the metadata request. Since some of the other options may also be overriden (tileWidth, tileHeight) and simply have a sentence pointing that out in the docs, I thought it wouldn't hurt to allow for the credit option also.
I am not too familiar with the codebase so I tried to base it somewhat on the handling of the credit option in createOpenStreetMapImageryProvider.

Thank you so much for the pull request @mircokroon! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CONTRIBUTORS.md entry.

Please add yourself to the contributors file!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

I had already done both the CLA and Contributors entry.

Thanks again for the contribution @mircokroon, we received your CLA.  Someone will review this pull request.

Thanks again for your contribution @mircokroon!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Thanks for the contribution @mircokroon!


[ECSUtil] update to version <IP_ADDRESS>

update ECSUtil to version <IP_ADDRESS>
Triplets are supported:

x64-windows

x64-windows-static

x64-windows-static-md

x86-windows

x86-windows-static

x86-windows-static-md

Does your PR follow the maintainer guide?

Yes

update not needed anymore. Thanks.


Add support for README.md display in case docs/index.md is missing

This is critical for "auto detected" installations of sapphiredocs, as most modules only have a README

Closing due to inactivity, feel free to reopen if this is still a problem


Error in example

Hi
It seems there is an error in the following example:
Exclude all local users.                                  /ue:%computername%*
This should be: /ue:%computername%*            => Missing backslash

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

ID: 7c7e6db2-1517-e9b9-cd9a-6a6aaf84ccc3
Version Independent ID: daab80f9-640e-36c9-e60a-084901b11c05
Content: ScanState Syntax (Windows 10)
Content Source: windows/deployment/usmt/usmt-scanstate-syntax.md
Product: w10
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

Thank you for pointing out the missing backslashes (either replaced by <em> or simply missing). Sorry for the delay in providing a solution. I will check for and provide a solution if nobody else have made it yet.


All trims are the same, might the color or trim change

Title really. In addition to the ressource pack not running in the .jar and needing to be installed manually, any trim looks like this

Up is copper silence trim, down is diamond flow trim. Even with other (and without, I tested with only this mod and no resource packs) datapacks like trims expanded display the same trim.

What game version/Trimmable Tools version are you on?

I'm on 1.21, fabric loader. Mod version is the datapack you get by downloading using the download button on modrinth and chosing fabric 1.21, + the corresponding resource pack file in https://modrinth.com/datapack/trimmable-tools/versions .

Don't use the resource pack from v1. Only the mod from v2 should be necessary.

https://github.com/user-attachments/assets/087bc2e1-7d85-41c5-9871-30e5c118d63c
Nope. Still nothing.

Oh sorry. Don't worry everything actually works fine. For some reason, enabling and disabling a Vanilla Tweaks item stitching fix rpack worked when it didn't before. And you don't need the resource pack too.


Fix flakey bart robot unit test

One of our tests for the bart robot occasionally fails. We should fix this
tests/devices/unit_tests/test_bart_robot.py::test_given_program_not_running_and_pin_unmounts_then_mounts_when_load_pin_then_pin_loaded -  AssertionError: Expected 'trigger' to have been called once. Called 0 times.
Or see https://github.com/DiamondLightSource/dodal/actions/runs/12165707719/job/33930319285
Acceptance Criteria

Test made more robust

FYI, I'm taking a look at this flaky test right now.

It seems like what makes this test flaky is the sleep time sometimes being to short. Increasing the sleep time would most likely fix the issue.
Another more robust solution is to replace arbitrary sleeps with an event-driven approach. For example, use asyncio.Event to synchronize the test with the actual behavior.
What do you think @olliesilvester ?

I think increasing the sleep is good enough for this issue, however I like the idea of using asyncio.Event instead. I will make an issue to replace all of our arbitrary sleeps in tests instead of this! Thanks!

Should I open a PR to at least close this issue?

Yes, go ahead, thank you


[1.0.3] Fix flaky tests

@halter73 @pakrym @pranavkm

I have no idea what's happening here 😕

:shipit:


Add Pagination to Search Pages

When going to the search page, it loads all the users in the database and shows it in the UI.  We should add some type of pagination so that it only displays maybe 10 at a time, and the user has to click a "load more" button to fetch more.

the ability to hit api/users/?page=1 now exists on the api

@codyseibert api/users/?page=1 is till returning all 200+ users

Has anyone decided to accept this task? Seems like we can use lazy load here and on in the feed

I'll work on this...

Thank you Mani!

@mani-barathi let me know if you have any questions. We can get on a call

@divanov11 sure

@divanov11  I figured out how to do implement it.. I have some questions can we get on a call?

@divanov11 No worries it's almost done.. will make a PR tomorrow.


[Tracker Issue] Open Issues for Prometheus components in the Collector

See list of open issues here:
As of Sep 2021 Collector-contrib now has Prometheus components so see new list here:
https://github.com/open-telemetry/opentelemetry-collector-contrib/labels/comp%3Aprometheus
Pre-move list:
https://github.com/open-telemetry/opentelemetry-collector/issues?q=is%3Aissue+is%3Aopen+label%3Aarea%3Aprometheus

As of Oct 29 2021: track collector-contrib issues at: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Acomp%3Aprometheus


First step towards implementing code folding

This is a first step towards implementing code folding #618.
There are two parts involved:

Parsing the file.
Hiding the collapsed lines.

This patch implements part 2, although there are several TODO items.
Regarding part 1: there is a proof-of-concept that is indentation based, enough to test part 2.
This pull request is mostly seeking for comments and help implementing part 1 and the TODO items.

This new version updades the fold collapse status based on file edits and it is more or less usable.

This new version is working!
Please, test and report feedback.

So first thing I want to say is that I am in love with this, it is a feature I have been hoping for for ages. I built the version and started trying it with some python.
For people reading, I added the following bindings to ~/.config/micro/bindings.json
  "Alt-u": "FoldCollapse",
  "Alt-i": "FoldExpand",
  "Alt-U": "FoldCollapseRecursive",
  "Alt-I": "FoldExpandRecursive",

these are only temporary and I do not intend on keeping them, but they are necessary to use the new functions.
Something I have found that can cause issues is that once text is collapsed, you can still type into it without being able to see what you write, and moving your cursor over the collapsed region requires moving over every line collapsed. This means that if I collapse a function from lines 6 to 8, and it appears to me that after line 6 is line 9, I have to move my cursor down 3 times to actually get there, and it disappears during this time. I can also type during this time, so if i were to enter characters while my cursor was not visible, and then expand the region, I would see that my input was actually written to inside of the collapsed block.
I think both of these would be best solved by modifying the code that is responsible for moving the cursor up and down to make it aware of lines that are collapsed.
I have not looked at the specifics of the syntax detection, but I have been able to use it with unindented C code blocks as well as python functions. Unterminated python blocks extend to the last blank line, so they can also swallow up the ending of a program. It might be useful to have the function ignore blank spaces at the end of code blocks (this is primarily when talking about python, where the end of code blocks is not explicit.
Another quality of life feature might be indicating in some way what the last line included in the current code block is, perhaps with a tilde in the same place a +/- is inserted.
I want to reiterate that I am very happy that this is a feature being added. Something I use micro for is markdown (.md) notes, and I would love the ability to collapse sections, though certain problems with the ambiguity of the ending of a section would need to be resolved. I also use micro for latex (.tex mainly), and collapsing sections for that would be useful. Both of these markup languages have unique (and often inconsistent, depending on the implementation) syntax, so I am also wondering if there might be a modular way to implement this per file type, in such a way that the end user could modify the conditions for what is considered a code block in a given file type.

For aforementioned situations such as in latex files where what the user wants to collapse might be ambiguous, there is a vim plugin whose idea might be referenced: https://github.com/matze/vim-tex-fold. I am specifically referring to the manual markers, %{{{ and %}}}.

Hi @atropos1789,
cursor movement works for me. I've just tested it again whith v2.0.13-1-gd8e9d61a and it still works.
Collapsed sections are skipped all at once and I am not able to write into a collapsed section.
Please, try again with no plugins and with settings like mine.
If it still doesn't work for you, report back what are you doing step by step.
settings.json
{
    "autoclose": false,
    "clipboard": "terminal",
    "colorscheme": "simple",
    "ignorecase": false,
    "tabsize": 2,
    "tabstospaces": true
}

bindings.json
{
  "Alt-,"          : "None",
  "Alt-."          : "None",
  "Alt-Backspace"  : "None",
  "Alt-CtrlH"      : "None",
  "Alt-F"          : "None",
  "Alt-["          : "None",
  "Alt-]"          : "None",
  "Alt-a"          : "None",
  "Alt-b"          : "None",
  "Alt-c"          : "None",
  "Alt-e"          : "None",
  "Alt-f"          : "None",
  "Alt-g"          : "None",
  "Alt-m"          : "None",
  "Alt-n"          : "None",
  "Alt-p"          : "None",
  "Alt-x"          : "None",
  "Alt-{"          : "None",
  "Alt-}"          : "None",
  "Ctrl-b"         : "None",
  "Ctrl-g"         : "None",
  "Ctrl-h"         : "None",
  "Ctrl-j"         : "None",
  "Ctrl-k"         : "None",
  "Ctrl-n"         : "None",
  "Ctrl-p"         : "None",
  "Ctrl-u"         : "None",
  "Ctrl-w"         : "None",
  "CtrlShiftDown"  : "None",
  "CtrlShiftUp"    : "None",
  "F10"            : "None",
  "F7"             : "None",

  "Ctrl-MouseLeft" : "MouseMultiCursor"    ,
  "MouseLeft"      : "MousePress"          ,
  "MouseMiddle"    : "PastePrimary"        ,
  "MouseWheelUp"   : "ScrollUp"            ,
  "MouseWheelDown" : "ScrollDown"          ,
  "CtrlUp"         : "ScrollUp"            ,
  "CtrlDown"       : "ScrollDown"          ,

  "Ctrl-e"         : "JumpToMatchingBrace" ,
  "Ctrl-l"         : "command-edit:goto "  , "Ctrl-a"         : "SelectAll"           ,
  "Left"           : "CursorLeft"          , "ShiftLeft"      : "SelectLeft"          ,
  "Right"          : "CursorRight"         , "ShiftRight"     : "SelectRight"         ,
  "CtrlLeft"       : "WordLeft"            , "CtrlShiftLeft"  : "SelectWordLeft"      ,
  "CtrlRight"      : "WordRight"           , "CtrlShiftRight" : "SelectWordRight"     ,
  "Home"           : "StartOfTextToggle"   , "ShiftHome"      : "SelectToStartOfTextToggle" ,
  "End"            : "EndOfLine"           , "ShiftEnd"       : "SelectToEndOfLine"   ,
  "Up"             : "CursorUp"            , "ShiftUp"        : "SelectUp"            ,
  "Down"           : "CursorDown"          , "ShiftDown"      : "SelectDown"          ,
  "PageUp"         : "CursorPageUp"        , "ShiftPageUp"    : "SelectPageUp"        ,
  "PageDown"       : "CursorPageDown"      , "ShiftPageDown"  : "SelectPageDown"      ,
  "CtrlHome"       : "CursorStart"         , "ShiftCtrlHome"  : "SelectToStart"       ,
  "CtrlEnd"        : "CursorEnd"           , "ShiftCtrlEnd"   : "SelectToEnd"         ,
  "AltShiftDown"   : "SpawnMultiCursorDown",
  "AltShiftUp"     : "SpawnMultiCursorUp"  ,

  "AltLeft"        : "FoldCollapse"        ,
  "AltShiftLeft"   : "FoldCollapseRecursive",
  "AltRight"       : "FoldExpand"          ,
  "AltShiftRight"  : "FoldExpandRecursive" ,

  "Ctrl-r"         : "command-edit:replace ",
  "Ctrl-f"         : "FindLiteral"         ,
  "Ctrl-F3"        : "Find"                ,
  "F3"             : "FindNext"            ,
  "ShiftF3"        : "FindPrevious"        ,

  "Esc"            : "Escape,RemoveAllMultiCursors",
  "Insert"         : "ToggleOverwriteMode" ,
  "Enter"          : "InsertNewline"       ,
  "Backspace"      : "Backspace"           ,
  "Delete"         : "Delete"              ,

  "Tab"            : "IndentSelection|InsertTab"    ,
  "Backtab"        : "OutdentSelection|OutdentLine" ,
  "AltUp"          : "MoveLinesUp"         ,
  "AltDown"        : "MoveLinesDown"       ,
  "Ctrl-d"         : "DuplicateLine"       ,
  "Ctrl-c"         : "CopyLine|Copy"       ,
  "Ctrl-x"         : "Cut|CutLine"         ,
  "Ctrl-v"         : "Paste"               ,

  "Ctrl-t"         : "CommandMode"         ,
  "Ctrl-s"         : "Save"                ,
  "Ctrl-q"         : "Quit"                ,
  "Ctrl-y"         : "Redo"                ,
  "Ctrl-z"         : "Undo"                ,
  "Ctrl-o"         : "AddTab&OpenFile"     ,
  "CtrlPageUp"     : "PreviousTab"         ,
  "CtrlPageDown"   : "NextTab"
}

Comments and strings can now be folded too.

Closed accidentally, reopenning...
New version fixes several corner cases.

Added C preprocessor folds.

Merge with upstream.
Multiple one-line comments are now considered a single collapsible region.


Whole folder for certs

It would be great (e.g. for letsencrypt-auto) if traefik could support a folder with cert/key files
instead having to list each cert/key file separately in traefik configuration.
Otherwise a script would have to watch the key/cert folder of letsencrypt-auto and
render a configuration file from template using the filenames inside.

This will be addressed when implementing let's encrypt support.
Duplicate #89

@emilevauge - i don't think this is solved. i'd like something similar, to have traefik put letsencrypt certificates and private keys in per-domain directories on disk. accessing them from acme.json is cumbersome.

I think it's useful for non-ACME use cases. For example, I do not want to update toml files to add new certs after adding new front/backend via dynamic backend (e.g. docker).
To do that traefik also needs to watch and reload certs as well..
Can we remove "duplicate" label from this issue?

+1
Any news or other suggestions for solutions to this issue?

I'll close the issue due to inactivity but feel free to re-open if needed.


Make python command configurable

Using sys.executable in https://github.com/dask/dask-jobqueue/blob/master/dask_jobqueue/core.py#L238 seems unnecessarily strict. My use case is that I have KNL nodes available and I want to manage both KNL and standard nodes from dask_jobqueue. I've mirrored the software stacks, and all the necessary module loads are the same, but the absolute paths differ.
I'm happy to issue a PR but I wanted to know how you would consider handling it? In my case, I'm installing  dask_jobqueue as a module for our users so I know that os.path.basename(sys.executable) (for example) would work as intended. I could add a new keyword arg that sets python which defaults to the existing value?

That seems quite reasonable to me
On Fri, Oct 5, 2018 at 3:46 AM ocaisa<EMAIL_ADDRESS>wrote:

Using sys.executable in
https://github.com/dask/dask-jobqueue/blob/master/dask_jobqueue/core.py#L238
seems unnecessarily strict. My use case is that I have KNL nodes available
and I want to manage both KNL and standard nodes from dask_jobqueue. I've
mirrored the software stacks, and all the necessary module loads are the
same, but the absolute paths differ.
I'm happy to issue a PR but I wanted to know how you would consider
handling it? In my case, I'm installing dask_jobqueue as a module for our
users so I know that os.path.basename(sys.executable) (for example) would
work as intended. I could add a new keyword arg that sets self.python
which defaults to the existing value?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/166, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszAzK-RLLSCxQwB4NHCFQaKROSTdnks5uhw5bgaJpZM4XJuLw
.


[FEATURE] Add heatmap chart support

Describe the solution you'd like
There are some visualization tasks requiring the support of the heatmap - isolated or in combination with other plots.
Describe an implementation suggestion
The idea behind heatmaps charts is to create an additional pane and divide it to the small rectangles, centered in every (x,y) coordinate. That's how the heatmap matrix is created. Then, based on the provided data, every column has to be displayed with the gradient color and values passed to the each rectangle should be normalized from 0.0 to 1.0
Based on this gradient is displayed.
alternative option: every frame the full heatmap data is provided and normalized from 0.0 to 1.0, and the same logic applies
Additional context
As a reference here are couple of screenshots from existing applications and custom implementations

Seems interesting to add.
Is the data related to the heatmap different from the one used to plot the lines?

Both options are valid.
When I was playing around with it, I had both tasks to plot statistical data as you've described above and price/volume data for the financial charts.
The idea behind is that using gaming engine allows you to leverage the power of GPU when displaying big amount of shapes, while when you try to plot HiRez heatmaps using CPU (e.g. 1920x1080) it starts to take way too long to render.
For the tests I've used the following example (attached the picture)
While the main value is growing, the "temperature" of the value cell is growing as well.

Nice, thank you for explaining some details.
The first approach I'm thinking of is introducing an additional dimension for the Function class - the z.
It could be used both to give information about the "temperature" of the heatmap, but also applied in different kind of charts (I'm thinking about the Bubble Chart, where the z dimension is translated to the size of each bubble).
This should let heatmaps be easy to integrate and at the same time keep some flexibility in how the temperature should be interpreted: your last example shows an increasing temperature which follows the curve of the LineChart (I suppose a function such z = a*x), but the z axis could also be indipendent from the x,y ones in order to cover the former examples you gave.

but the z axis could also be independent from the x,y ones in order to cover the former examples you gave.

All correct.
The idea of having z dimension in the 2 dimensional function is great!
Nevertheless, it would be interesting and challenging to align background heatmap with the lineChart and/or scatter plot.
When I tried to do this with JavaFX, that was quite challenging topic.
Btw, if you want gists from my experiments, I can provide it ;)

hey @iCubeDm .
Thanks for your feedback.
Yes! Some reference would be very useful to have something to start with from scratch :)

@fenix-hub
Here is the gist: https://gist.github.com/iCubeDm/dd743e8260ce81ff604595429232a4d2
warning! it is quite dirty as it was a pure experiment)


chore(ci): relax bigquery dependency

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

I've requested that Tamas review this. He intends to try locally before merging to avoid any dependency related regressions.


Can not find boost

Is it found the boost lib or not?  Where I should put the boost library in?  which root it checks the for the boost?

http://dlib.net/faq.html#Whywon'tthePythonbindingscompilework
Also, don't post screenshots, especially ones where the text is truncated.

thanks for replying so quickly!
2016年12月5日 下午3:12，"Davis E. King"<EMAIL_ADDRESS>
http://dlib.net/faq.html#Whywon'tthePythonbindingscompilework
Also, don't post screenshots, especially ones where the text is truncated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davisking/dlib/issues/353#issuecomment-264879248, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQoyN--xESN9i_GH1cMBvh-wdbvSKWrgks5rFCn5gaJpZM4LEU6l
.


Bug: "Couldn't resolve..." for hints

Appears after creating new need

@maxstolze still an issue?


[BUG] CSS purge of example site fails

Describe the bug
The CSS purge of the Hinode example site no longer seems to work.
To reproduce

Clone the Hinode repo with git clone https://github.com/gethinode/hinode.git
Set purge = true in exampleSite/config/_default/params.toml
Install npm packages with npm i
Run the site with npm run start:example
Validate the site in a local browser, clearing the cache if needed

Host environment

Hinode version: HEAD, commit c099bfdb8f0726597cbfea1ba1801a48b76e6f55
Host OS: macOS Sonoma 14.2.1
Node version: 20.10.0
Browser: Google Chrome Version 122.0.6261.69 (Official Build) (arm64)

Hugo environment
From npm run env:
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended darwin/arm64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio
GOOS="darwin"
GOARCH="arm64"
GOVERSION="go1.21.6"
github.com/sass/libsass="3.6.5"
github.com/webmproject/libwebp="v1.3.2"
github.com/sass/dart-sass/protocol="2.5.0"
github.com/sass/dart-sass/compiler="1.71.1"
github.com/sass/dart-sass/implementation="1.71.1"

Additional context
The problem is likely related to PR https://github.com/gethinode/hinode/pull/786 and https://github.com/gethinode/hinode/pull/769. @deining, maybe you have some additional thoughts?

@deining, maybe you have some additional thoughts?

Yes, I do. Let me investigate this. Coming back to you soon.

FYI - I also raised issue https://github.com/gohugoio/hugo/issues/12137.
Not sure if related, but I'm careful to use the embedded npm hugo bin (v0.122.0) or the hugo binary installed with brew (v0.123.3) on my local machine.


"No media data found" when trying to create a task via SDK

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

I want to create a task including a file from shared disk via the SDK, but i receive a error that the file is not found:

Error: Request failed with status code 500. "ValueError: No media data found\n".

Expected Behaviour
The Task should be created
Current Behaviour
No task creation possible.
Possible Solution
I think there is a error in the shared files implementation.
Could it be that there is  a error in the file path generation with the Quotation marks as seen in the log of the buttom of the issue ? Looks suspicous to me, but beside the quotation marks the path would be correct.
Steps to Reproduce (for bugs)

Create a uploader script

from cvat_sdk import make_client, models
from cvat_sdk.core.proxies.tasks import ResourceType, Task

user="xxx"
pw="xxx"
host="xxx"

# Create a Client instance bound to a local server and authenticate using basic auth
with make_client(host=host, credentials=(user, pw), port=8080) as client:
    # Let's create a new task.

    # Fill in task parameters first.
    # Models are used the same way as in the layer 1.
    task_spec = {
        "name": "example task",
        "labels": [
            {
                "name": "car",
                "color": "#ff00ff",
                "attributes": [
                    {
                        "name": "a",
                        "mutable": True,
                        "input_type": "number",
                        "default_value": "5",
                        "values": ["4", "5", "6"],
                    }
                ],
            }
        ],
    }
    oneFile ="flightdata/2022-08-13T09-00-00-payload-images-helgoland/cam-l/2022-06-15T08-21-49.975755.jpg" # i am not 100perc sure about this, but i created a task via UI including this file and used the shared folder path which was shown in UI on the top
    task = client.tasks.create_from_data(
        spec=task_spec,
        resource_type=ResourceType.SHARE,
        resources=[oneFile]
    )

Run the script
Response:

(cvat) xxx@asfasf:~/cvat_task_creator$ python3 creator.py
Traceback (most recent call last):
  File "/rzhome/xxx/cvat_task_creator/creator.py", line 42, in <module>
    task = client.tasks.create_from_data(
  File "/rzhome/xxx/miniconda3/envs/cvat/lib/python3.9/site-packages/cvat_sdk/core/proxies/tasks.py", line 311, in create_from_data
    raise exceptions.ApiException(
cvat_sdk.api_client.exceptions.ApiException: Status Code: 200
Reason: OK
HTTP response headers: HTTPHeaderDict({'Allow': 'GET, HEAD, OPTIONS', 'Content-Length': '77', 'Content-Type': 'application/vnd.cvat+json', 'Date': 'Thu, 03 Nov 2022 18:52:43 GMT', 'Referrer-Policy': 'same-origin', 'Server': 'Apache', 'Vary': 'Accept,Origin', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'DENY'})
HTTP response body: b'{"state":"Failed","message":"ValueError: No media data found","progress":0.0}'

Context
I want to create tasks automatically without using the UI, the folders with the images include also other files .
In the  UI its too much work explicitly excluding all non-images, so i want to have a SDK way to create tasks. The CLI also doesnt work for me due to https://github.com/opencv/cvat/issues/4962 ( i think i need to wait for the next release be able to use it?)
 No
Operating System and version (e.g. Linux, Windows, MacOS): Debian
Code example or link to GitHub repo or gist to reproduce problem: No
Other diagnostic information / logs:

django@c58e8b630737:~$ cat logs/cvat_server.log
....
[2022-11-03 18:52:38,760] INFO cvat.server: create task #117
[2022-11-03 18:52:38,766] WARNING cvat.server: Skip '/home/django/share/"flightdata/2022-08-13T09-00-00-payload-images-helgoland/cam-l/2022-06-15T08-21-49.975755.jpg"' file (its mime type doesn't correspond to supported MIME file type)

I tried the same script with image_1 & image_2 from the shared unittestfolder, but get the same error.
django@c58e8b630737:~$ cat logs/cvat_server.log

[2022-11-04 10:24:15,943] WARNING cvat.server: Skip '/home/django/share/"flightdata/test/image_2.jpg"' file (its mime type doesn't correspond to supported MIME file type)
[2022-11-04 10:24:15,943] WARNING cvat.server: Skip '/home/django/share/"flightdata/test/image_1.jpg"' file (its mime type doesn't correspond to supported MIME file type)

So it doesnt seem to be the iamges themselfs which cause the problem.
My real folderstructure on the HDD is like
/data/flightdata/test/

and
(base) xxx@xxxx:/opt/cvat$ cat docker-compose.override.yml
version: '3.3'

services:
  cvat_server:
    volumes:
      - cvat_share:/home/django/share:ro
  cvat_worker_default:
    volumes:
      - cvat_share:/home/django/share:ro

volumes:
  cvat_share:
    driver_opts:
      type: none
      device: /data
      o: bind

Does the Filesystem mounts look correct?

@SpecLad, could you please check?

This seems like the same bug as #4962. @julled did you build the SDK yourself or are you using a release version?

This seems like the same bug as #4962. @julled did you build the SDK yourself or are you using a release version?

but isnt the error message a different one?
I use the release version.

but isnt the error message a different one?

Sure, but the cause is the same - extra quotes inserted where they don't belong.
I'm pretty sure it's the same bug, so I'm going to close this issue. If you can reproduce it with an SDK built from the development branch, or with the next release (when that comes out), feel free to reopen it.

If i try to build the SDK on my own it fails
(base) xxx@xxx:/opt/cvat$ docker-compose -f docker-compose.yml -f docker-compose.dev.yml run     --no-deps --entrypoint '/usr/bin/env python' --rm -u "$(id -u)":"$(id -g)" -v "$PWD":"/local"     cvat_server     manage.py spectacular --file /local/cvat-sdk/schema/schema.yml
WARNING: The no_proxy variable is not set. Defaulting to a blank string.
WARNING: Found orphan containers (cvat) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating cvat_cvat_server_run ... done
Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/opt/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 363, in execute
    settings.INSTALLED_APPS
  File "/opt/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 82, in __getattr__
    self._setup(name)
  File "/opt/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 69, in _setup
    self._wrapped = Settings(settings_module)
  File "/opt/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 170, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/django/cvat/settings/production.py", line 5, in <module>
    from .base import *
  File "/home/django/cvat/settings/base.py", line 394, in <module>
    os.makedirs(Path(IAM_OPA_BUNDLE_PATH).parent, exist_ok=True)
  File "/usr/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/django/static/opa'
ERROR: 1

I think (not expert in this) i was able to compile the sdk on my own using the official schema from https://app.cvat.ai/api/docs/ and the howto from https://opencv.github.io/cvat/docs/api_sdk/sdk/developer-guide/
But i still get the same problem in the log:
[2022-11-05 16:55:49,722] WARNING cvat.server: Skip '/home/django/share/"flightdata/2022-08-13T09-00-00-payload-images-helgoland/cam-l/2022-06-15T08-21-49.975755.jpg"' file (its mime type doesn't correspond to supported MIME file type)
Does this mean that the SDK recompilation cant be succesful or the issue might be somewhere else?


something went wrong when uploading image

when im using bootsy::container, popup something went wrong appear when i want to upload image
here my repo https://github.com/khirul/inspirasi.git
link im using bootsy
http://localhost:3000/posts/new
dont know what happen, im using many times before without problem
thanks

That's a known issue happening to people using Sprockets >= 3. The easiest way to fix it is to lock it on ~> 2.3. Do this on your Gemfile and run bundle install:
gem 'sprockets-rails', '~> 2.3'

@volmer I am getting the same popup error when trying to upload an image with Bootsy, even with using the 2.3 version of sprockets-rails as suggested. If I remove the include Bootsy::Container from class Post < ActiveRecord::Base I have the option for image upload via URL as expected, but the features of uploading from my local drive, as well as, choosing the image size and placement as demonstrated in the Bootsy demo is what makes this gem awesome.
Everything else works perfectly.
My repo is a private bitbucket, but I can copy and paste associated files if need be.
Thanks for any help.

Hey @ThreeFingerDesigns, this problem has been solved in the latest Bootsy version. Now you can use the latest sprockets-rails. Please upgrade Bootsy in your app.


I'm not sure how to contribute, but I made a small slice that displays a lock if $PWD has no write access (in comments)

Maybe you can add this as a slice?  Otherwise, just leaving it here for others:
the -w flag here just tests for write access, for those not familiar
'$(if [ ! -w $PWD ] ; then printf "%s" "" ; fi)'

(sorry, also not sure how to paste the unicode lock character into github... I just copied the character from powerline into my .vimrc)
you can use this line in the warn prompt, like:
\'warn' : [ '$(if [ ! -w $PWD ] ; then printf "%s" "(lock)" ; fi)', promptline#slices#last_exit_code() ],

Cool thnx :+1:


Keyboard access to expandable sidebar menu items is non-standard

Describe the bug
Keyboard access to expandable sidebar menu items is non-standard and will frustrate keyboard user
To Reproduce
Steps to reproduce the behavior:

https://openfl.readthedocs.io/en/latest/index.html
Use keyboard TAB key to navigate between sidebar items
Use ENTER to expand/collapse items

Example: As a keyboard user I can’t get to ‘core components’ under ‘openfl structure’ without first activating the OpenFL Structure link, which loads the overall topic page for that link.
Notice:

The expand/collapse controls should be always visible and always in focus order
Since the top level of each expandable section is also itself a link to a landing page, the keyboard user can’t expand a section without activating the link to go to the overall landing page
Usability-wise, it also doesn’t visually distinguish which items are collapsible sections (the first two, manual and openfl structure) from the items that are links (openfl troubleshooting; notices and disclaimers)
Further, focus is not consistently returned to / moving to where it should; sometimes I can get to next sub-link as expected, sometimes next focusable item is one of the next links.

Expect:

The expand/collapse controls should be always visible and always in focus order
Do not have multiple actions triggered on activation of a link; separate the link to landing page for a section from the expand/collapse behavior
Ensure that focus moves consistently through all available links without skipping links / sections

Desktop:
This issue is not OS or browser specific, but for tracking purposes, testing was done on Win11, in Edge Version 114.0.1823.58 (Official build) (64-bit).
Smartphone:
This issue is not device, OS, or browser specific.
Additional context
This is an accessibility issue, please annotate this bug with the 'accessibility' label.

Closing. As mentioned by @fstrr, this is an issue with Read The Docs platform.


Added: virustotaluploader 0.0.7

zip files are not supported yet, see https://github.com/appget/appget/issues/4


missing dependancies

This file is missing:
PHP Warning:  require(/mikro-watch-master/vendor/autoload.php
I put a placeholder in there and then get:
PHP Fatal error:  Class 'Symfony\Component\Dotenv\Dotenv' not found

fixed

Can you tell me what you did to fix it ? maybe i should append my documentation to make it easier to use. Thanks !


Update Orderer --connTimeout

Add orderer timeout on chaincode calls.
Remove orderer flags on "peer channel join" since no connection to orderer is made.
Signed-off-by: David Enyeart<EMAIL_ADDRESS>

The updates work OK with the increased timeout and slow / unresponsive DNS.  The peer commands are really slow but predictable.
Good catch on the last peer channel join.


Open TSC Meeting - November, 14th 2019

NOTE: This meeting is on Thursday at 9am - 10am PT
Zoom Meeting link: https://zoom.us/j/975841675
In order to give some more visibility into the topics we cover in the TSC meetings here is the planned agenda for the next meeting.  Hopefully this will allow people to plan to attend meetings for topics that they have an interest in.  And for folks who cannot attend they can comment on this issue prior to the meeting.  Feel free to suggest other potential agenda topics.
*Please submit comments below for topics or proposals that you wish to present in the TSC meeting

Topic
Owner
Decision/NextStep

/cc @OAI/tdc Please suggest items for inclusion

Suggested agenda item, discussed with @darrelmiller and @webron on Slack:
Expedited merging of new and changed proposals
When we introduced proposals, we agreed in principle that new proposals and changes to proposals (by the proposal submitter) should be expedited, not held up in the general PR backlog.
But we never put a process in place to ensure that this happens.  As it stands, the GitHub PR process gets in the way of the proposals process.
We discussed two possible solutions:
We define a policy that any TSC member can merge a proposal/proposal change made by the proposal owner without a second sign-off and give proposal writers permission to harass on the social media platform of their choice.
Proposals could go into another repo with a broader list of committers. Like maybe submitting a proposal gets you promoted to committer status in that repo, and we clean up the committer list from time to time.
Let's discuss and agree on a way forward.

I will be available to start the meeting but I can't stay in the call unfortunately.

Meeting minutes:

On the topic of expedited merging of new and changed proposals:

The consensus was in favor of having a separate repo for proposals. To clarify, this would be a dedicated repository, only for proposals. It would not be a fork or a duplicate of this OpenAPI-Specification repo. We would link to the proposals repo from the OpenAPI-Specification readme, from the OpenAPIs.org website, and from elsewhere as needed.
@webron mentioned on a Slack chat that he thinks GitHub Actions might be able to automate the merging of PRs containing new proposals or changes to proposals. If this progresses to a working POC, we'd like to see it before we create the new repo. @webron might need someone with JavaScript chops to help prototype this. Any volunteers?

@namdeirf Noted that the TSC calendar should be updated to reflect the limited number of Thursdays left in 2019. TSC calls falling on Thanksgiving or other holiday weeks should be removed from the calendar.  I'm not sure who owns this calendar, so if someone knows, please pass it on.

@darrelmiller does this info need to be actively retained?  If so can we put it in its own issue or something and close out the meeting issue?

LOL, apparently I didn't read the consensus of the meeting and I created proposals in the same site!  Oops.  Sure we can close this.


[reggen] Support for multi-bit REGWEN signals

This is a cherry-pick PR of the first commit of https://github.com/lowRISC/opentitan-integrated/pull/189
This PR adds support for multi-bit encoded REGWEN signals to the reggen utility.
Closes https://github.com/lowRISC/opentitan/issues/5763

Closing since that one is already merged in master.