[FEAT]: API in swagger for agents

What would you like to see?
I would like to webscrapping from api, not only from the Aythin LLM UI

https://github.com/Mintplex-Labs/anythingllm-docs/issues/27
See https://github.com/Mintplex-Labs/anything-llm/issues/1484

The @agent directive is not available in the API because there is no way to halt the worker since there is no "Stop generation" via the API to prevent runaway agents, which can occur with Open-source models, we don't have agents in the API yet.
They would be able to be used via a separate endpoint or body parameter so we can be sure you have the controls needed to prevent any kind of agent runaways!

Unless you are simply just asking to be able to scrape a link via the API, which does exist via /documents/upload-link

Thank you @timothycarambat


Add position control for popup input like go to file、go to symbol

now，the position of popup input like go to file doesn‘t change position and it in the top of screen. My screen is too big. I have to move a long distance in mouse. If the popup can change the center of screen ,I think it will be better for me.

/duplicate of #17268


review impaired hearing child terms

We need to review the terms under impaired hearing:
1- change the label on deafness (MP:0001967) to reflect that the definition of this term is complete deafness
2- make increased or absent threshold for auditory brainstem response (MP:0011967) a child of impaired hearing
3- review EQ statements, look at notes from POTATO workshop

POTATO notes https://docs.google.com/document/d/189BVPa1CzvhSKBgotY1CwZB-g2bq0MS4agHg5O7OtUU/edit?usp=sharing
All groups reviewed unilateral deafness


Adjust default config location on FreeBSD

Problem description
Current default linux config location (/etc/netbird/config.json) inappropriate for FreeBSD
On FreeBSD according to HIER(7) /etc/ using only for base system configuration files and scripts; see intro(5)
The standard /usr/local/etc/netbird/config.json is also not the best choice since this is an automatically generated config that we should never need to modify by hand, all changes to it making by up command. Therefore, I propose placing config into /var/db/netbird/, which is the standard location for system service state on FreeBSD.
To Reproduce
Just run current 0.28.7 client on FreeBSD without specifying --config/-c argument.
Expected behavior
Netbird state should store by default in the standard system service state location inside /var/db/netbird/
Are you using NetBird Cloud?
Yes
NetBird version
0.28.7
NetBird status -d output:
Related `netbird status -d' command output:
...
OS: freebsd/amd64
Daemon version: 0.28.7
CLI version: 0.28.7
...

Additional context
This is required to simplify usage netbird cli command on FreeBSD

I will prepare a PR

Thanks @skillcoder for the issue and for working on the PR.

Need to test after we release new version.


Connection.getEntityRef should throw ConnectionClosedException

During the recent change to formalize the exception path through existing end-points and in-flight messages, we didn't also look at the paths to create new end-points.
Ideally, this would be documented to throw this new exception, as well.

@ChrisGreenaway @myronkscott : I am linking this with #215 also because we also ran into this issue. We are always using timed out invokations for voltron and when voltron closes the connection, we have no way to know and if we do a connection.getEntityRef(), it will block indefinitely.

I believe this to be occurring already.  Confirm then close.


Screen Stuck /Frozen

Type: Bug
VS CODE Screen Stuck /Frozen
VS Code version: Code 1.74.2 (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:26:09.430Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz (8 x 1400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
35, 21, 10

Memory (System)
16.00GB (2.24GB free)

Process Argv
--crash-reporter-id 5b9f6c92-21df-4af6-a18f-f663393fb429

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

vscode-docker
ms-
1.23.3

remote-containers
ms-
0.266.1

java
red
1.13.0

intellicode-api-usage-examples
Vis
0.2.6

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.47.0

vscode-java-dependency
vsc
0.21.1

vscode-java-pack
vsc
0.25.7

vscode-java-test
vsc
0.37.1

vscode-maven
vsc
0.40.3

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848cf:30577861
nodejswelcome1:30587005
3biah626:30602489
iaj6b796:30613358
f6dab269:30613381
fim-prod:30623723

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.3. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/needsMoreInfo

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


chore: update renovate config to match function-template-go

Update the renovate.json config to match the https://github.com/crossplane/function-template-go/blob/main/renovate.json

Thanks!

did you find anything about how to test btw?

There is a renovate-config-validator cli to check the config is good, to actually test it out, I usually run it against my fork, either manually or from ci.


ESP32: Keep the 'waiti 0' instruction - noticed by Masayuki Ishikawa

Summary
This patch will revert part of the last modification I did to remove the 'kludge' code at xtensa_idle.
Impact
This code was added to reduce power consumption and is the same as in the esp-idf.
Testing
ESP32 Ethernet

@masayuki2009 FYI.


feat: Added support for updating Drifty

Fixes issue

Fixes #217
Changes proposed

Created Updater Package, Updated Main files for GUI & CLI, in order to check Updates and Download the latest available update using GitHub API.
Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Summary by CodeRabbit

New Features

Introduced a new search functionality with a search bar and results display.
Added a new UPDATE mode and related functionalities to the application.
Implemented a new Updater class for handling executable updates.
Added progress bar enhancements in the GUI to show more detailed download information.

Enhancements

Improved operating system detection with new utility methods.
Streamlined file copying and permission setting in the backend.
Updated GUI forms to reflect changes in auto-paste settings.
Enhanced logging with timestamp formatting and update-specific messages.

Bug Fixes

Fixed issues with file name handling in the Job class.
Corrected message display conditions based on the application's update mode.

Refactor

Renamed methods and enums for clarity and consistency across the codebase.
Simplified build workflow steps in the CI/CD pipeline.

Documentation

Added package-level comments to the "Preferences" package.

Style

Made minor whitespace and comment adjustments in various files.

Chores

Removed unused methods and fields in GUI forms.
Cleaned up import statements across several classes.

@coderabbitai review

@coderabbitai review

My suggestion on codeRabbitAI's issue with the TimerTask is to leave it alone for the time being. Because I have been working on a completely different way to deal with the JSON data that is generated from the download programs.
Here's a basic rundown of what I'm working on (which is almost finished by the way):

I took all possible different JSON outputs and created POJOs from each one.
I then added a unique class based on each possible JSON file.
When a JSON file is generated, it is loaded into its respective class.
Once loaded, it is then known not only which kind of file it is (Instagram, Youtube video, Youtube video from a list, Spotify, Other), but the java class has direct access to every variable in the JSON text. So getting at the various attributes of the file becomes a simple matter of calling a method within that class instance. This includes the filename assigned from the server (if any), or the different video resolutions that are available for a given link, as well as the unique URL for each file from a list. I even have it set up so that Instagram downloads always have the correct link within the POJO itself.

The new method will nullify the above "problem" because files will no longer be mined the way they are now and they will not even be using a TimerTask for that purpose.
If this PR is ready to merge, then please merge it so that I can update my branch with it.

@EasyG0ing1 Good idea :bulb:! Okay, then, I am resolving this problem for now. We'll be discussing on the JSON problem in a new issue.
This PR is not still ready to get merged. Some more changes are required. Once done, it will be merged.
Thank you for the idea :smile:!

@kmr-rohit This PR needs to be closed as no major changes have yet been made and there is a ton of conflicts which if resolved, does not help much. So, if you are interested in working on this issue, you need to open a separate PR.
Does that look good to you?

@kmr-rohit I am closing this PR because of inactivity. If you want to work on this, please reopen this PR.


[Feature] [Golang] Add support for govulncheck in github actions for Go apps.

Search before asking

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

Description
Currently, none of our golang applications are checked for vulnerabilities. Since going applications are used as binaries, these are difficult to test for vulnerabilities. All applications that are written in Golang can be scanned using  govulncheck as a part of the GitHub actions.  This highly reduces the possibility of supply chain attacks through dependencies used by our application.
We would need to write GitHub actions for the following projects:

skywalking-kubernetes-event-exporter
skywalking-cli
skywalking-rover
skywalking-banyandb
skywalking-eyes
skywalking-infra-e2e
skywalking-swck
skywalking-satellite

Related links:

https://go.dev/blog/vuln
https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
https://github.com/marketplace/actions/golang-vulncheck

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Dependabot can only search for vulnerabilities in claimed dependencies in the repository right (We do have dependabot working in the security tab.)? If so then this is a great addition to cover our own code through static analysis.

dependabot is working, activated by ASF Infra. We also have sonatype setup for Java.
https://lift.sonatype.com/results/github.com/apache/skywalking/01GK31R4GXW0Y7JZS3BWY047YG?tab=bom-dr
What is the additional value for this?
CVEs should be scan and report in private if possible.
If we add it to CI, we have to force other contributer to fix things may not relative to them.

Moving to discussion.


group = EC_GROUP_new_by_curve_name(curve_id) fails to create a group for some curve_id

EC_GROUP_new_by_curve_name(curve_id) fails to create a group for some curve_id
e.g. NID_ED25519

25519 and 448 are treated as different key types in OpenSSL. i.e ECX.
They do not use 'EC_' functions (which includes EC_GROUP_new_by_curve_name()).
Use the EVP_PKEY interface instead..
See doc/man7/EVP_PKEY-X25519.pod & doc/man7/EVP_SIGNATURE-ED25519.pod for more info.

25519 and 448 are treated as different key types in OpenSSL. i.e ECX.
They do not use 'EC_' functions (which includes EC_GROUP_new_by_curve_name()).
Use the EVP_PKEY interface instead..
See doc/man7/EVP_PKEY-X25519.pod & doc/man7/EVP_SIGNATURE-ED25519.pod for more info.

Thanks for your clarification.
Due to this different treatment, it means we are unable to perform EC operations over those curves as easily as over other curves, right? It is not a good news for developers who are using OpenSSL as a base library to build cryptographic schemes, and this difference may create chaos.

@mattcaswell any comments..

It is correct, in OpenSSL the family of 25519 and 448 cryptosystems is not implemented at the "mathematical" EC level, but rather as a high level cryptosystem.
This was by design since they first appeared in OpenSSL as their definition by their respective designers is explicitly outside of the conventions for "traditional" EC curves.
As an example, while the underlying working is definitely based on EC scalar multiplication, an X25519 operation is defined as a routine in its spec, rather than as a multiplication between a scalar and a point.
Things are quite similar for the curves used inside Ed*.
That being said, users tinkering with those cryptosystem as officially defined, shouldn't meet limits using OpenSSL API: do you have a concrete example of something that you could do with the standard definition of X25519/Ed25519 and are struggling to achieve?

It is correct, in OpenSSL the family of 25519 and 448 cryptosystems is not implemented at the "mathematical" EC level, but rather as a high level cryptosystem.
This was by design since they first appeared in OpenSSL as their definition by their respective designers is explicitly outside of the conventions for "traditional" EC curves.
As an example, while the underlying working is definitely based on EC scalar multiplication, an X25519 operation is defined as a routine in its spec, rather than as a multiplication between a scalar and a point.
Things are quite similar for the curves used inside Ed*.
That being said, users tinkering with those cryptosystem as officially defined, shouldn't meet limits using OpenSSL API: do you have a concrete example of something that you could do with the standard definition of X25519/Ed25519 and are struggling to achieve?

Thanks for your quick and helpful reply.
Actually, one good thing about OpenSSL is its generality, e.g. we can flexibly switch the underlying curves to achieve the best performance, and compare the performance of the resulting schemes with other concrete schemes in a more fair way.

On that side in 3.0 things should be even better: if you stick to the EVP level API, it should be very easy to swap cryptosystems (even beyond "traditional" and "new" elliptic curve cryptosystems)


Change master to main

Changes proposed in this pull request:

Changed master to main in docs.

Related issue(s)
See also #https://github.com/kyma-project/community/issues/515

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


Improve apipanic stack trace log output

This properly formats the output in the log instead of one giant log
line with embedded '\n' strings. We do similar in the lockdebug library,
so follow that example.

This change is

test-me-please

Coverage increased (+0.03%) to 43.236% when pulling 57bad5c55a83a01682bab1bdf7ec8b6fce8e6746 on joestringer:submit/better-apipanic-errors into 5aba0b63a3efa8a49cdb526e4a6fa8a92b6d1c65 on cilium:master.


coordinate precision

Hi,
I have another question about the polygon coordinate precision extracted from GDS.
I am using the following code to get all polygons from a GDS file.
import gdspy
gdsii = gdspy.GdsLibrary()
gdsii.read_gds('out-file.gds')
main_cell = gdsii.top_level()[0]
pol_dict = main_cell.get_polygons(by_spec=True)
polygons = pol_dict[(41, 0)]
When I print out the values in polygons, I saw the following
[array([[2.16, 1.82],
[2.16, 0.98],
[1.82, 0.98],
[1.82, 0.54],
[2.26, 0.54],
[2.26, 0.76],
[2.34, 0.76],
[2.34, 1.82]]),
....
It seems I have to multiply 1000 to get the integer coordinates. Is this as expected?
I don't mind to multiply 1000 but I thought all numbers in GDS file is integer
Also, if I want to draw some polygons to output them to a GDS file, should I divide my coordinates by 1000?
Thanks
enuinc

I used another GDS reader and can confirm that the data is stored in the integer. It seems gdspy multiplies whatever values stored in GDS file with the so called DBUperUU, which is 0.001 in my case
I would like to confirm if my understand is correct or not.
Thanks
enuinc

@enuinc That's correct, Gdspy presents data in user units, not the integers written in the GDSII file.
If you need to change the units when you import a GDSII file (because you are using different user units in different files, for example), it's easier to use the unit argument in GdsLibrary.read_gds.
You might also be interested in this specification.

@heitzmann Thanks for the reply. I have two additional questions

Is there a function in gdspy to give me the dbu and uu value in a gds file?
In addition, can gdspy output the polygons in dbu instead uu?

Thanks
enuinc

@enuinc

Not at this moment, but it should be somewhat easy to implement...
If you know the size of dbu in meters, passing that value to unit will make all coordinates will be in dbu (nevertheless, datatype will still be float, not int)

Is there a specific use case you're thinking of?

@heitzmann
I have a code that take the GDS coordinate and convert them to physical unit when needed. it will be quite a bit work to change various places in the code to take the physical unit directly. right now, it is fine as I can just assume I always work for nm unit and make a hard-coded conversion.
Thanks
enuinc

@enuinc In https://github.com/heitzmann/gdspy/commit/da2e56bc730dced87e0da867813a69e083b4dd47, GdsLibarry.read_gds adds support to 'import' the units from the GDSII file. GdsLibrary.precision is the file's dbu and GdsLibrary.unit is dbu/uu.


Feature/52 dependant libraries fixed versions

#52 corrected patch based on latest checkout

fixed version of libraries now pulled.

Results form Test Script:
==========================================================
RESULTS for VM-SYNC
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/linux/curl/lib/libcurl.a exists. PASS
build/linux/openssl/lib/libssl.a exists. PASS
host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
==========================================================
==========================================================
RESULTS for ubuntu
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/linux/curl/lib/libcurl.a exists. PASS
build/linux/openssl/lib/libssl.a exists. PASS
host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/arm/curl/lib/libcurl.a exists. PASS
build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================

Test results:
 ./release-test-script-ut-control.sh -t feature/52-dependant-libraries-fixed-versions
==========================================================
RESULTS for ubuntu
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/linux/curl/lib/libcurl.a exists. PASS
build/linux/openssl/lib/libssl.a exists. PASS
host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/arm/curl/lib/libcurl.a exists. PASS
build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/52-dependant-libraries-fixed-versions. PASS
build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================


Tasks 1407-1417: DART, ajgt_twitter_ar, and youtube_caption_corrections.

Created a set of tasks from the DART, ajgt_twitter_ar and youtube_caption_corrections datasets available on huggingface.
Tasks

DART

Question Generation
Sentence Similarity Classification
Text Generation
Relationship Extraction
Subject/Predicate/Object Identification

ajgt_twitter_ar

Sentiment Classification

youtube_captions_corrections

Grammar Correction
Incorrect Grammar Classification
Slot Filling
Slot Generation

Things look good in general. Although, I have some suggestions:
task1334_dart_question_generation:
Definition: "specified in the at least" --> "specified in at least"
Definition: "such that a it is a well-formed question" --> "such that it is a well-formed question"
"The input is a list of triplets of the form [subject, predicate, object] and the output is a list of questions that are sentences based on the triplets but with the subject and/or object replaced with slots."
It seems all outputs are single sentences not a list? Also slots need to be defined. Do you mean blank lines by slots?
Probably add a line that says: "All input triplets need not be used in the question for it to be valid."
task1336_dart_text_generation:
Do all input triplets need to be used in the question for it to be valid? Please indicate that in the Definition.
Is a question valid if it contains more information than what is provided in the input triplets?
I noticed input triplets like this: ['[TABLECONTEXT]', '[TITLE]', 'Olivia McKoy']] Are [.] indicating special tokens or placeholders? Please describe what these are in the definition.
task1342_youtube_caption_corrections_grammar_correction:
The positive examples can be more varied. It seems all three have the same mistakes. Also in the "explanation", you may wanna describe what is fixed.
In definition, if you can add more examples of grammar mistakes that need to be fixed, it would be helpful for the model to understand what needs attention. I see in the other task you have "unknown" and "special" errors. You may add some examples for those.
task1343_youtube_caption_corrections_incorrect_grammar_classification:
Please expand on what (unknown error) and (special error) each represents. What errors classify as unknown vs special?
task1344_youtube_caption_corrections_slot_filling:
I'm not sure if this is a reasonable task. There are a lot of words that can fill out the slots and achieve the objective but output only considers one of them to be correct. We may wanna drop this task.

Hi @swarooprm
Yes, ill make the necessary changes and push a new set of changes. Thanks for the reviews!

@swarooprm Sorry, got caught up in some other stuff. Should have an update tomorrow.

Made the changes. Some files have no matching or relevant domain so I've left those unchanged (without a domain).

Thanks for making the changes. LGTM now!

@RushangKaria, can you rename the files to 1407-1417 so that we can go ahead and merge this PR?

Hi @swarooprm,
Yes, Ill rename the files and create a new PR for it.


[core] Add debug endpoints

The api server exposed some "/api/debug" endpoints now. These endpoints
can be used to get the "http/pprof" information and to dump an http
request. The debug endpoints can be enabled via the "--api.debug" flag.
By default these endpoints are disabled.
We also fixed some typos in the documentation for the Azure and Helm
plugin. In the Azure we had a wrong link for the permissions
documentation and in the Helm plugin the configuration section was
missing.
Besides the changes from above, we also enabled the secure and http only
flag for the cookie, which is created by the auth middleware when
authentication is enabled.

[x] I added a CHANGELOG entry for this change.
[x] I adjusted the corresponding documentation for this change.
[x] I adjusted the values.yaml file and the documentation for all values.

Codecov Report

Merging #285 (4eb998d) into main (148ec9d) will increase coverage by 0.35%.
The diff coverage is 84.10%.

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


started editing docs to add "how to get help"

draft edits for "Supportability tasks #296," how to ask for help

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@mr-c:
I need some clarification about what you mean by "getting help through github"

@safay Creating an issue: https://github.com/ged-lab/khmer/issues/new

@mr-c:
Ah okay, literally reporting an issue.  Thanks for the clarification!

[ ] Is it mergable?
[ ] Did it pass the tests?
[ ] If it introduces new functionality in scripts/ is it tested?
Check for code coverage.
[ ] Is it well formatted? Look at make pep8, make diff_pylint_report,
make cppcheck, and make doc output. Use make format and manual
fixing as needed.
[ ] Did it change the command-line interface? Only additions are allowed
without a major version increment. Changing file formats also requires a
major version number increment.
[ ] Is it documented in the ChangeLog?
[ ] Was a spellchecker run on the source code and documentation after
changes were made?

@mr-c: How's it look? Ready to merge?

re-wrote google search box from scratch; this is my code

@mr-c: when you have some time please have a look again; I think this is ready


Parser: whitespace insensitive block/content parsing

Currently, the following code yields a parser error:
#{
  if true
  {
    1
  }
}

Error: expected block

while this compiles just fine
#{
  if true {
    1
  }
}

Note, that this is not limited to if-else statements, but seemingly to all cases where a block or content is expected. Here are some more examples where parsing fails.
#let a =
  [
    ...
  ]

#let a =
  {
    ...
  }

Also note that issue #490 is subcase if this issue.
I think the parsing of blocks should not depend on the trivial tokens preceding it (e.g., spaces or comments) and parser should be resistant against such different formatting possibilities.
I am looking forward to hearing your opinion on this!

I would imagine that the parsed syntax tree of
#if 1 + 2 == 3
{
  1
}
else
{
  2
}

needs to look like this:
Markup: 61 [
    Hashtag: "#",
    Conditional: 60 [
        If: "if",
        Space: " ",
        Binary: 10 [
            Binary: 5 [
                Int: "1",
                Space: " ",
                Plus: "+",
                Space: " ",
                Int: "2",
            ],
            Space: " ",
            EqEq: "==",
            Space: " ",
            Int: "4",
        ],
        Space: " \n",
        CodeBlock: 9 [
            LeftBrace: "{",
            Space: "\n    ",
            Code: 1 [
                Int: "1",
            ],
            Space: "\n",
            RightBrace: "}",
        ],
        Space: "\n",
        Else: "else",
        Space: " \n",
        CodeBlock: 9 [
            LeftBrace: "{",
            Space: "\n    ",
            Code: 1 [
                Int: "2",
            ],
            Space: "\n",
            RightBrace: "}",
        ],
    ],
]

I feel it's by design that newlines have some meaning like "implicit ;" like in Python or JavaScript, although I'm not sure what the exact rules are.
#{
(1,)
(2, 3)
}

#{
(1,) (2, 3)
}

First block works, second block gives an error.

This is largely intentional. The case below does not parse because otherwise let statements would spuriously continue just because the thing that follows happens the continue the expression.
#let a =
  [
    ...
  ]

// What about this?
#let x = 1
  + 2


Make jme talk to javafx

For example the HUD must know which unit(s) are selected, to show an image/label

I saw you commit https://github.com/meltzow/supernovae/commit/acdec651488333a2607e5c575d71baf67b72a6c3 ,thats the right way.
I think I understand you problem, but I dont have any idea to solve it in the moment. I must think about it.

perhaps a solution?? please check this: javaFX has the observable pattern. https://www.google.de/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8&client=ubuntu#q=javafx observable
If JME (the hudproc) modify these obserables, javafx should be informed about it.

fixed with https://github.com/meltzow/supernovae/commit/e544a76f7966bb229c987b4f57f82f7ffe626abf
but we should refactor it later.


Add support for Tensor.unique

Description
Hello, i't trying to add Tensor.unique function implementation for pytorch engine but fail to call native implementation.
There are two reloaded implementations. Python impl looks like:
    if dim is not None:
        output, inverse_indices, counts = _VF.unique_dim(input, dim, sorted=sorted, return_inverse=return_inverse, return_counts=return_counts,)
    else:
        output, inverse_indices, counts = torch._unique2(input, sorted=sorted, return_inverse=return_inverse, return_counts=return_counts)

where _VF is defined as:
self.vf = torch._C._VariableFunctions

I successfuly implement call for _unique2:
JNIEXPORT jlongArray JNICALL Java_ai_djl_pytorch_jni_PyTorchLibrary_torchUnique(
    JNIEnv* env, jobject jthis, jlong jself, jboolean jsorted, jboolean jreturn_inverse, jboolean jreturn_counts) {
  API_BEGIN()
  const auto* tensor_ptr = reinterpret_cast<torch::Tensor*>(jself);
  std::tuple<torch::Tensor, torch::Tensor, torch::Tensor> outputs = torch::_unique2(*tensor_ptr, jsorted, jreturn_inverse, jreturn_counts);
  // process output
}

but i can't find out way to call unique_dim implementation:
JNIEXPORT jlongArray JNICALL Java_ai_djl_pytorch_jni_PyTorchLibrary_torchUnique(
    JNIEnv* env, jobject jthis, jlong jself, jboolean jsorted, jboolean jreturn_inverse, jboolean jreturn_counts, jint jdim) {
  API_BEGIN()
  const auto* tensor_ptr = reinterpret_cast<torch::Tensor*>(jself);
  std::tuple<torch::Tensor, torch::Tensor, torch::Tensor> outputs = torch::???::_unique2(*tensor_ptr, jdim, jsorted, jreturn_inverse, jreturn_counts);
  // process output
}

Please help me resolve how to call torch._C._VariableFunctions
References
https://pytorch.org/docs/stable/generated/torch.unique.html#torch.unique

It looks like it is relavant to aten::unique_dim, which is generated cpp code. See build/aten/src/ATen/core/ATenOpList.cpp.
Maybe you can just implement the unique without dim.
Another issue is that, if the dim of unique is specified for example dim=1, is it possible that the output tensor's row will have different lengths?

Hello, i can't see no ATenOpList.cpp, only ATenOpList.h, and have no idea how to declare/import required function (i have no experience in c++).
Actualy i need exactly unique for dimention = 1.
For any rank tensor - desired dimension will include only unique values (unique tensors).
So if tensor A has a shape [3, 4, 2],  A.unique(dim=1) may have a shape [3, 2, 2].

Could you open a PR, so that we can directly experiment on top of your code?

https://github.com/deepjavalibrary/djl/pull/2415
I create 2 implementations (as describe erlier).
There are some other changes in PR (bmm and xlogy functions - pytorch implementations only).

Cool. Thank you for your very nice contribution! I'll review it.
Also, I have implemented the unique_dim too. It turns out that, even though aten::unique_dim is generated code (by torchgen/gen.py from Function.h), in JNI, there is no problem in just including this library by #include <ATen/ops/unique_dim.h>.
I will merge my implementation first and then your PR2415 can overwrite my mine.


How to implement this in WinForm C#(Not WPF)

I'm trying to implement this in C#, I simply replaced the handle of a WPF window with my WinForm, the blur can appear, but all those control texts becomes transparent.
Will there be any solution for this?

Change the TransparencyKey on the form to, say, Colors.Fuchsia and should resolve that.

@riverar I have solved this by setting the TransparencyKey to a rarely used color on my WinForm, but another problem arised. I tried to draw a semi-transparent ellipse on my form, with the color of the TransparencyKey and alpha is set to 50%, but I get a solid shape instead of a semi-transparent one. Can you help me with this problem? Thanks so much~

hi i dont speak english but i will try.
I implemented in visual basic.net C #, I get the result of the image, is there a way to apply the blur only to a panel? or leave the blur in a certain area of the form?

hi i dont speak english but i will try.
I implemented in visual basic.net C #, I get the result of the image, is there a way to apply the blur only to a panel? or leave the blur in a certain area of the form?

I clarify, the transparentkey of the form only accepts black color, it does not apply the blur with another color. my problem is the text boxes, the rest is tolerable. As you can see in the previous image, the text box is lost with the white background.

I clarify, the transparentkey of the form only accepts black color, it does not apply the blur with another color. my problem is the text boxes, the rest is tolerable. As you can see in the previous image, the text box is lost with the white background.

This composition trick does not support child hwnds (so you can't pass in a panel handle). Instead, you can set the Panel background color to Fuschia, then set the Form's TransparencyKey to Fushcia.
This:

Produces:

This composition trick does not support child hwnds (so you can't pass in a panel handle). Instead, you can set the Panel background color to Fuschia, then set the Form's TransparencyKey to Fushcia.
This:

Produces:

@rikka0w0
https://user-images.githubusercontent.com/475132/104390709-2afde300-54f3-11eb-8a47-8c895993a6c5.mp4
You can fiddle with the opacity via GradientColor, you can't do this at the winforms level. https://github.com/riverar/sample-win32-acrylicblur/blob/master/MainWindow.xaml.cs#L74

@rikka0w0
https://user-images.githubusercontent.com/475132/104390709-2afde300-54f3-11eb-8a47-8c895993a6c5.mp4
You can fiddle with the opacity via GradientColor, you can't do this at the winforms level. https://github.com/riverar/sample-win32-acrylicblur/blob/master/MainWindow.xaml.cs#L74


Docker image not compatible with arm64 Mac (M1)

run-v1.sh runs end to end on Ubuntu, but identical calls with identical inputs fail on my Mac instance
After pulling both align and survival images, the following warning is printed:

The error is shown here:

Building multi-platform container and may need to add --platform tag to facilitate correct build pull

using docker desktop, one can build amd64 and arm64 versions of the til_align docker image like this:
cd til_align
docker build --tag=tilalign --platform=linux/amd64,linux/arm64 .

i am building the docker images for amd64 and arm64 now. i am using the following commands:
git clone git@github.com:SBU-BMI/til_align.git
cd til_align/
git checkout missingPairs
# Set up builder for multi-platform builds.
docker buildx create --name mybuilder --driver docker-container --bootstrap --use
# Build docker image.
docker buildx build -t kaczmarj/tilalign:68c2a3b --platform=linux/amd64,linux/arm64 .
# Push docker images.
# todo...


Usability improvements for CesiumGeoreference parentage

This is a PR into #1227.
There are two main changes here:

The Quick Add and Cesium ion Assets UIs now add the objects they create as children of a CesiumGeoreference.
The logic used to find the default CesiumGeoreference for an object that doesn't have one specific explicitly has been improved to search its parent attachment chain first. If it doesn't find a CesiumGeoreference there, then it follows the same logic as it did previously. It also does an additional search at the end (if a CesiumGeoreference hasn't been found already) for any CesiumGeoreference in the PersistentLevel.

These changes make it more convenient (automatic, even) to nest Cesium objects inside a CesiumGeoreference so that the globe can easily be transformed in the world. We can also easily do fancy things like have two globes with different georeferencing in the same Unreal world.

Thanks for the pull request @kring!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.

Thanks for the review @csciguy8! I've addressed all your comments.

I'm merging this for the v2.0 preview. Further review comments still welcome.


Inconsistent UI on different page.

Login as admin
Switch between "Projects" and "Admin options"  I noticed the space between table header and the search box is different.

This may be caused by scroll-bar appeared at right side of browser, due to different content height about two pages.


Fix eternal loading progress #719 #697

:loudspeaker: Type of change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description

Fix eternal refreshing and empty state in HomeActivity
Fix eternal refreshing in Search
Feat placeholder when data are not available same like for no filters
:bulb: Motivation and Context

When only "Product Hunt" filter was selected and no data was available from the response, the progress was showing infinitely, also function onLoadMore in InfiniteScrollListener was refreshing infinitely when data was not available.
https://github.com/android/plaid/issues/719
if searched data was not available, LiveData didn't trigger because data loading function didn't assign an empty list to searchResult
https://github.com/android/plaid/issues/697
:green_heart: How did you test it?
Manually
:pencil: Checklist

[x] I ran ./gradlew spotlessApply before submitting the PR
[x] I reviewed submitted code
[ ] I added tests to verify changes
[x] All tests passing

:crystal_ball: Next steps
:camera_flash: Screenshots / GIFs

Thanks for the fix! Can we change the text & CTA shown if there is an error to:
"Error loading data" + a "Retry" button which kicks off another load (rather than directing them to the filters).

Hi @QArtur99, can you confirm that you're adressing the requested changes?

Hi @QArtur99, can you confirm that you're adressing the requested changes?

Hi, @keyboardsurfer I opened new pr cuz I removed this fork and I couldn't connect to this pr. New pr: https://github.com/android/plaid/pull/814

Thanks for the fix! Can we change the text & CTA shown if there is an error to:
"Error loading data" + a "Retry" button which kicks off another load (rather than directing them to the filters).

Hey, @nickbutcher I changed text & CTA, and I open new pr https://github.com/android/plaid/pull/814


active_dims fix in Kdiag

Linear and Polynomial kernels did not respect active_dims properly in Kdiag.

Added slice call to Linear.Kdiag
Fixed TestSlice to test more kernels.
Fixed TestSlice to have the correct inputdim.

@jameshensman: I just want to double-check, I also think I fixed an existing bug in TestSlice, where all the input_dims passed to the kernels was 1. Where actually, input_dim should be the number of inputs passed into the kernel, rather than the number actually used, right?

Current coverage is 99.40% (diff: 100%)

Merging #253 into master will decrease coverage by 0.11%

@@             master       #253   diff @@
==========================================
  Files            23         23
  Lines          1691       1692     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1683       1682     -1
- Misses            8         10     +2
  Partials          0          0

Powered by Codecov. Last update f66dda5...eaa8609


Submission for Coding Challenge

Congrats 🥳, your web app achieved a performace score of 78. Great job 💪!
So that we can recognize your solution for the coding challenge, please tell us your SAP Community profile URL in a reply to this comment; don't include any other text, just the URL on its own, like this:
https://people.sap.com/your-user-name
Thanks!

Thank you!
my SAP Community profile URL is:  https://people.sap.com/flavio.ciotola3

Thanks a lot for your contribution. The solution looks great and I'll close this PR now!
You should receive your badge soon.


Fix typos and improve article clarity across multiple documentation files

This PR addresses several minor spelling and grammatical issues in multiple documentation files. Specifically:

Corrected usage of "a" vs "an" in "hardhat-deploy-sbs.md" and "hardhat-testing-sbs.md".
Fixed "double check" to "double-check" in "web3.md".
Updated the incorrect article usage in "ethers.md".

These changes aim to enhance the clarity and correctness of the documentation.
What changed? Why?

Corrected typos and grammatical errors to improve readability and consistency across the documentation.
Replaced "a" with "an" where needed, added a hyphen to "double-check," and fixed other minor errors.

Notes to reviewers:
Please review the grammar and spelling fixes to ensure consistency in the documentation.
How has it been tested?

No code changes were made. The changes only affect documentation.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Redundant $ lacks context

Given:
main = print (123 :: $(conT $ mkName $ "Int"))

I get the error "Redundant $" but the entire fragment I'm given is $. That's pretty hard to figure out what is going on. I think we probably need to revert #950 - likely having an "I'm an IDE flag" to say that the span is super important but the context less-so.

CC @zliu41

No objection to reverting - the IDE aspect of this particular hint is not very important (to me anyway) since I never keep redundant "$"s, so if I see it I just fix it.
On the other hand, both the LHS and RHS of the "$" may be quite large and may have additional "$"s, so with the old span, one may sometimes have to squint at the "Found" and "Perhaps" to find the "$". The new span at least says exactly where the redundant "$" is.

I'm thinking that leaving the position as just the position of $, but making the from be the whole LHS/RHS. I agree that for big LHS/RHS it's ugly, but that means IDE users (who have context) get the right answer, whereas console users know which $ is being complained about. That seems like the best of both worlds?

Done. I now get:
Sample.hs:1:39: Suggestion: Redundant $
Found:
  mkName $ "Int"
Perhaps:
  mkName "Int"

So context for the command line, but a position that only refers to a single character for the IDE.

I'm thinking that leaving the position as just the position of $, but making the from be the whole LHS/RHS.

Great idea, I think we can do the same for redundant brackets.

I think we can do the same for redundant brackets.

Awesome! Yes, this looks like it could well become a standard trick.

Just going to hack up the redundant brackets now.

Brackets trimmed down in 90dde61ab2039597709e20f444a369d3a1f791b5 - was pretty easy now we have a general technique.


What does otherwise mean in Equation 1?

What does otherwise mean in Equation 1?

"Otherwise" means the case where the feature does not belong to the class of the prototype vector.

"Otherwise" means the case where the feature does not belong to the class of the prototype vector.

Oh, thank you


Fixing symlink directory traversal

Fixes issue #47

@dimov-cz Any reason this is still sitting in queue?

Actually no, i have it merged in my local devel branch. The real problem is in <IP_ADDRESS> line (which is based on your previous patch). See https://github.com/dimov-cz/win-sshfs/issues/65 for details.
Making git to work on top of winsshfs is cruccial for me. After we solve this, I want to release version with your patches and Dokan 1.0 compatible.


Hard to read time x axis

I find this x-axis really hard to read.  If we are spanning multiple days, can the x-axis just be the day and we get more fine-grained data from the tooltip?

I agree

Agree and it's on the roadmap. Both axes have not yet been adjusted.

This had been improved in the latest release 0.8.22 but there is still some way to go.


font property shorthand during minifcation

When possible, minification should re-write the font-style, font-variant, font-weight, font-size, line-height, and font-family properties into a single font one.
See MDN documentation for more details

Implemented in changeset: 325af46a1cbe558031b75947dce3b4f3fa8e06eb


Margin added between 'G' image and rest of text in Google login button

#114

@YuriGor It seems that your eslint settings differ from ours, so I am not able to merge this PR. All of our single ticks are becoming quotes.
I will add the marginRight that you suggested but with 10px to all book chapters and the main repo. Thanks again for the suggestion.

#118 would be handy in such situations


Refactor metrics domainstats

What this PR does
Before this PR:
domainstats were not refactor accordingly to https://github.com/kubevirt/community/pull/219
After this PR:
domainstats are refactored

Fixes #
jira-ticket: https://issues.redhat.com/browse/CNV-38133
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

none

/retest

/lgtm

/retest

@machadovilaca I think pull-kubevirt-e2e-k8s-1.29-sig-compute is failing because of the PR changes. Seems related to kubevirt_vmi_vcpu_seconds_total metric.

all passing now

/lgtm

/approve

/retest pull-kubevirt-unit-test

/test pull-kubevirt-unit-test

/lgtm

@machadovilaca Thank you for the PR! can you please mention in the PR description all the refactor changes you are about to do? it seems that you have commits unrelated to domainstats refactoring

@enp0s3 only https://github.com/kubevirt/kubevirt/pull/11601/files#r1598518754 really, the virt-handler version metric and handler were meshed with the domainstats

/approve
/hold
@machadovilaca Please open a different PR for the test quarantine, feel free to unhold then.

waiting https://github.com/kubevirt/kubevirt/pull/11945

waiting #11945

merged, /unhold

waiting #11945

merged
/unhold

/lgtm


Implement new fees

[x] Imbalance/capacity fees
[ ] Network Fee
[ ] Tests that check for same results as smart contracts

Blocker: smart contracts dont have the fees yet.

Done


Error: no change creates unsolvable terraform conflicts

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Version
1.0.0-alpha.18
ZITADEL Version
2.28.1
Describe the problem caused by this bug
I have an org created via terraform. The force_mfa_local_only setting on the login policy in the zitadel state is "false". The setting read from Zitadel is "true."
If I try to change the terraform config to reflect true, the apply fails with the error
"Error: failed to update login policy: rpc error: code = FailedPrecondition desc = Errors.Org.LoginPolicy.NotChanged (Org-5M9vdd)"
On the other hand, if I leave the setting at false, terraform plan does not realize that anything needs to change. I see no path to making the actual setting and the terraform definition match.
To reproduce
Create an org & login policy with force_mfa_local_only set to false.  This setting isn't really retained (at least not on 0.28.1) so the actual setting will be true.
Now try and update the .mf to a setting of true.
Screenshots
No response
Expected behavior
I believe the "NotChanged" error should be caught by the terraform provider and ignored rather than treated as a failure. Terraform wants the operation to be idempotent, so it should not matter what is the starting state, only that in the final state it matches what was requested.
Relevant Configuration
No response
Additional Context
No response

closed due to duplicate to #127


AWS lambda multiValueQueryStringParameters

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
import uvicorn

from fastapi import FastAPI
from mangum import Mangum

from api.v1.api import router as api_router
from starlette.middleware.cors import CORSMiddleware

app = FastAPI(title='AWS Management Backend')

# TODO: Add these lines

app.add_middleware(
    CORSMiddleware,
    allow_origins='*',
    allow_credentials=False,
    allow_methods=["GET", "POST", "OPTIONS"],
    allow_headers=["x-apigateway-header", "Content-Type", "X-Amz-Date", "x-amzn-trace-id" ,
    "x-forwarded-for",
    "x-forwarded-port",
    "x-forwarded-proto",
    "x-imforwards"],
)

app.include_router(api_router, prefix="/api/v1")

@app.get("/",  tags=["Endpoint Test"])
def main_endpoint_test():
    return {"message": "Welcome!"}

# to make it work with Amazon Lambda, we create a handler object
handler = Mangum(app=app)

Description
I tried to use FastAPI with AWS Lambda and an Application Loadbalancer.
If I try to test the application with Lambda-Test:

{
  "requestContext": {
    "elb": {
      "targetGroupArn": "arn:aws:elasticloadbalancing:eu-central-1:XXXXXXXXXXX:targetgroup/tg-xxxxxxx/502cf0261b538695"
    }
  },
  "httpMethod": "GET",
  "path": "/",
  "queryStringParameters": {
    "query": "1234ABCD"
  },
  "headers": {
    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
    "accept-encoding": "gzip",
    "accept-language": "en-US,en;q=0.9",
    "connection": "keep-alive",
    "host": "xxxxxxxxx.eu-central-1.elb.amazonaws.com",
    "upgrade-insecure-requests": "1",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36",
    "x-amzn-trace-id": "Root=1-5c536348-3d683b8b04734faae651f476",
    "x-forwarded-for": "<IP_ADDRESS>",
    "x-forwarded-port": "8000",
    "x-forwarded-proto": "http",
    "x-imforwards": "20"
  },
  "body": "",
  "isBase64Encoded": false
}

Then I get this error:
START RequestId: 78f929fd-66a2-4602-af73-aef28e49908c Version: $LATEST
[INFO]	2022-03-10T14:41:52.381Z	78f929fd-66a2-4602-af73-aef28e49908c	Waiting for application startup.
[INFO]	2022-03-10T14:41:52.381Z	78f929fd-66a2-4602-af73-aef28e49908c	LifespanCycleState.STARTUP:  'lifespan.startup.complete' event received from application.
[INFO]	2022-03-10T14:41:52.381Z	78f929fd-66a2-4602-af73-aef28e49908c	Application startup complete.
[INFO]	2022-03-10T14:41:52.382Z	78f929fd-66a2-4602-af73-aef28e49908c	Waiting for application shutdown.
[INFO]	2022-03-10T14:41:52.382Z	78f929fd-66a2-4602-af73-aef28e49908c	LifespanCycleState.SHUTDOWN:  'lifespan.shutdown.complete' event received from application.
[ERROR] KeyError: 'multiValueQueryStringParameters'
Traceback (most recent call last):
  File "/var/task/mangum/adapter.py", line 118, in __call__
    multi_value_query_string_params = event[END RequestId: 78f929fd-66a2-4602-af73-aef28e49908c
REPORT RequestId: 78f929fd-66a2-4602-af73-aef28e49908c	Duration: 2.20 ms	Billed Duration: 3 ms	Memory Size: 128 MB	Max Memory Used: 65 MB

Does anyone have an idea how I can solve this problem?
Operating System
Other
Operating System Details
AWS Lambda Python-3.8 runtime
FastAPI Version
fastapi==0.62.0
Python Version
Python 3.8
Additional Context
No response

what version of mangum are you using? I'd guess it's quite old if you have fastapi pinned to 0.62.0. mangum has changed a lot since then

@jurasofish Thanks for response. I modified the target Group of the load balancer, you need to enable the attribute "Multi value headers". Now it works.


Fails to install

Running: npm install -g vt-geojson
processing (master) $ npm install -g vt-geojson
npm ERR! Error: Unsupported URL Type: github:anandthakker/node-mbtiles
npm ERR!     at parseUrl (/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:148:13)
npm ERR!     at npa (/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:62:12)
npm ERR!     at resolver (/usr/local/lib/node_modules/npm/lib/install.js:679:42)
npm ERR!     at null._onTimeout (/usr/local/lib/node_modules/npm/lib/install.js:674:7)
npm ERR!     at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "vt-geojson"
npm ERR! cwd /Users/aaron/processing
npm ERR! node -v v0.10.30
npm ERR! npm -v 2.0.0-alpha-5
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/aaron/processing/npm-debug.log
npm ERR! not ok code 0

Error: Unsupported URL Type: github:anandthakker/node-mbtiles

Oh weird -- I'm not sure how that github: got in there; possibly an npm version thing?  Hopefully fixed in d21a1c5f140d822e0a5a2fc7c5e90e9a969405ec

(just pushed a patch to npm: v2.0.2)

That worked! Thanks!

:+1: great!
On Sat, Oct 10, 2015 at 5:50 PM Aaron Lidman<EMAIL_ADDRESS>wrote:

That worked! Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/developmentseed/vt-geojson/issues/7#issuecomment-147128585
.


[v0.1] 3D Modeling - Generic Fishing Rod + Reel

3D model a generic fishing rod and reel for development

[x] Design
[x] Modeling
[ ] QA

This picture just shows you what part gonna have in the fishing rod. The style of the rod, I will make it more realistic.

This picture just shows you what part gonna have in the fishing rod. The style of the rod, I will make it more realistic.

Would you able to model the reel as well?
If so, you gonna model them separately.
e.g :  the rod itself, the reel and the handel
I wanted them to be standalone parts so players have the option to upgrade different parts of their rod.

Is that mean I need to model them in different projects? Or I model them in one project but don't make them stick together?

Is that mean I need to model them in different projects? Or I model them in one project but don't make them stick together?

Together in the same project but not connected, and be sure to place them in the correct position.

Ok, I can do that.

@Leong15 New order :
The fishing rod should separate to 3 models

The rod
The reel
The handle

Please set the handle's center point correctly.

The top of the rod

The bottom of the rod

Will check it out tmr
On Tue, Dec 8, 2020, 14:55 Leong15<EMAIL_ADDRESS>wrote:

[image: image]
https://user-images.githubusercontent.com/53085228/101450310-537b4600-3965-11eb-9034-3e881821ed33.png
The top of the rod
[image: image]
https://user-images.githubusercontent.com/53085228/101450320-583ffa00-3965-11eb-8385-241bfe4e5894.png
The bottom of the rod
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ChisanaKita/FYP/issues/4#issuecomment-740420972, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDIILO7XRGZID5FTOXPK2LSTXEWVANCNFSM4SOBHDMQ
.

Back

Left
The reel of the fishing rod. There is a holder to link the reel and the rod.
The holder and the reel are split.
That means when the reel is rotating the holder will not follow

Can you re-do the reel?
Reference : https://fishingbooker.com/blog/types-of-fishing-reels/

ok sure

Right

Back

Left

Right

Back

Left

Liking it so far!
BTW, can you make it shorter and also make a handle please?
P.S. : The handle must be made with 3 parts, Please refer to the picture above.

Liking it so far!
BTW, can you make it shorter and also make a handle please?
P.S. : The handle must be made with 3 parts, Please refer to the picture above.

Make it shorter
Separating the body
Make a handle

Make it shorter
Separating the body
Make a handle

The handle

The handle

Finished

Finished


Xamarin.Firebase.iOS.Crashlytics <IP_ADDRESS> contains bitcode which is not supported anymore since Xcode 14

I created a new .NET MAUI app, and added the Xamarin.Firebase.iOS.Crashlytics <IP_ADDRESS>
It looks like the bitcode isn't stripped from the included frameworks.
When building the app, and trying to submit it to the Apple App Store, I got the following error e-mail:
App Store Connect

Dear Developer,

We identified one or more issues with a recent delivery for your app, "myApp" 0.7.0 (11). Please correct the following issues, then upload again.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/FBLPromises.framework/FBLPromises' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/FirebaseCore.framework/FirebaseCore' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/GoogleAPIClientForREST.framework/GoogleAPIClientForREST' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/GoogleDataTransport.framework/GoogleDataTransport' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/GoogleUtilities.framework/GoogleUtilities' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/Protobuf.framework/Protobuf' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/leveldb.framework/leveldb' contains bitcode.

ITMS-90482: Invalid Executable - The executable 'MyApp.app/Frameworks/nanopb.framework/nanopb' contains bitcode.

I have tried to build with several options to strip the bitcode, however they don't work.
Like:
<Target Name="BeforeCodesign">
		<Exec Command="$(_SdkDevPath)\Toolchains\XcodeDefault.xctoolchain\usr\bin\bitcode_strip %(_Frameworks.FullPath) -r -o %(_Frameworks.FullPath)" />
	</Target>

and
<MtouchEnableBitcode>false</MtouchEnableBitcode>

Both don't seem to work.

Same problem, any workaround?

I guess the first step is to wait for Google to release Firebase 10.1.0
https://github.com/firebase/firebase-ios-sdk/milestone/107?closed=1.
Here you have a mention about bitcode removal

I also struggled for a week and solved it a few days ago, but now the only way is to downgrade.
VS 2022 17.3.5
Xcode 13.4.1
I'm currently testing it on Testflight and I'm about to review it.

Temporary workaround is to rebuild the nuget packages according to readme (I bumped the version in components.cake and bumped net6 -> net7 but it might not apply to your needs), added them to local nuget and used the higher version number, now it works with Xcode 14 and passed TestFlight checks

I have tried above code lines but show the following error
The command "/Users/apple/Downloads/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Users/apple/.nuget/packages/harfbuzzsharp.nativeassets.ios/<IP_ADDRESS>/runtimes/ios/native/libHarfBuzzSharp.framework/libHarfBuzzSharp -r -o /Users/apple/.nuget/packages/harfbuzzsharp.nativeassets.ios/<IP_ADDRESS>/runtimes/ios/native/libHarfBuzzSharp.framework/libHarfBuzzSharp" exited with code 127. (MSB3073)
Please provide me a appropriate solution

@janwiebe-jump Have you found any solution to this issue? I am also facing same with .net maui 7.0 .
@MWierzchowiecki @janwiebe-jump @shun9292 @tom-b-iodigital

@MWierzchowiecki  I am using Visual Studio 22 to develop a .net Maui v(0.7) app. There is no setting to disable the bit-code do you have any idea what I need to do for this?

@vplife1 have you found the way to disable bitcode mentioned by @MWierzchowiecki ?


Remove map from Body and Central objects

Mostly just a note to self. I think the interface of specifying a Map when creating a Body is great, but I think it probably makes sense to have a subclass or wrapper for bodies with surface maps.
@lgrcia

Hi there!
I've come up with a potential interface, introducing the class SurfaceMappedBody as a subclass of Body taking surface_parameters: dict as an argument and adding surface_parameters as arguments to the Central class to accommodate the surface mapping feature.
Note that the alternative of passing the surface map arguments individually, rather than encapsulating them in surface_parameters: dict , would require renaming variables, since, for example, the period parameter is used in both the Map and Body classes.
# orbits/keplerian.py

class Central(eqx.Module):
    def __init__(
        self,
        *,
        mass: Optional[Quantity] = None,
        radius: Optional[Quantity] = None,
        density: Optional[Quantity] = None,
        surface_parameters: Optional[dict] = None,    # New
        map: Optional[Map] = None,
    ):
        # other code ...
        if surface_parameters is None:
            surface_parameters = {}
        if map is None:
            self.map = Map(**surface_parameters)
        else:
            self.map = map

class SurfaceMappedBody(Body):
    def __init__(self, *args, surface_parameters: dict, **kwargs):
        super().__init__(*args, **kwargs)
        self.surface_parameters = surface_parameters

    @property
    def map(self):
        return Map(**self.surface_parameters)

class System(eqx.Module):
    # ...
    def add_body(self, body: Optional[Body] = None, **kwargs: Any) -> "System":
        if isinstance(body, SurfaceMappedBody):  # New
            return System(central=self.central, bodies=self.bodies + (body,), map=body.map)
        if body is None:
            if "surface_parameters" in kwargs:  # New
                body = SurfaceMappedBody(**kwargs)
                return System(central=self.central, bodies=self.bodies + (body,), map=body.map)
            else:
                body = Body(**kwargs)

        return System(central=self.central, bodies=self.bodies + (body,))

This would result in the following interface
y_central = Ylm.from_dense(np.hstack([1.0, np.random.rand(10) * 1e-1]))
y_body = Ylm.from_dense(np.hstack([1.0, np.random.rand(10) * 0.3]))

central = keplerian.Central(
    radius=1.0, mass=0.8, surface_parameters=dict(y=y_central, inc=0.9, obl=-0.3, period=1.2, u=[0.5, 0.5])
)

system = keplerian.System(central).add_body(
    radius=0.5,
    mass=0.6,
    period=1.0,
    surface_parameters={'y': y_body, inc=2.5, 'obl': 0.3, 'period': -0.8, 'u': [0.5, 0.3], 'amplitude': 0.6},
)

If this roughly matches your vision (down to variable names) and you don't already have a solution implemented, I'd be happy to polish, test and document this interface and then make a proper pull request.
Keep up the fantastic work!
Cheers,
David


[translation]: Update Spanish translations for contributing documentations

Update the following in Spanish from their English version available in /docs directory:

[ ] /docs/spanish/CONTRIBUTING.md from its english version at /CONTRIBUTING.md

[ ] /docs/spanish/README.md from its english version at /docs/README.md

[ ] /docs/spanish/how-to-catch-outgoing-emails-locally.md from its english version at /docs/how-to-catch-outgoing-emails-locally.md

[ ] /docs/spanish/how-to-setup-freecodecamp-locally.md from its english version at /docs/how-to-setup-freecodecamp-locally.md

[ ] /docs/spanish/how-to-work-on-coding-challenges.md from its english version at /docs/how-to-work-on-coding-challenges.md

[ ] /docs/spanish/how-to-work-on-guide-articles.md from its english version at /docs/how-to-work-on-guide-articles.md

Once you are ready please make a pull request, preferably one for each file.
When you make a PR for this particular issue, do not tag it with Closes #XXXXX instead just reference it with #XXXXX

How could I claim /docs/README.md so we don't double work? Thanks

Hi @luisbd 👋!
Actually we just merge in the first PR for open issues. And your comment on this thread is enough. So, its yours.
Happy translating.

I just open a PR for /docs/README.md 👉  https://github.com/freeCodeCamp/freeCodeCamp/pull/18314

@luisbd thanks a lot that was fast! Would you be interested in translating these in future as well? If yes, please keep a watch on this thread. We will be updating on the progress often
Happy contributing.

I'm working on /docs/spanish/CONTRIBUTING.md, I'll have a PR up later this morning.

I think that reference links my PR for /docs/spanish/CONTRIBUTING.md, but if not, I've got it at #18317 😎 👍

I think the above reference should link to my PR, but if not, it's available at #18317!
Thanks for all you do, freeCodeCamp 😎 👍

I have sent a translation proposal for /docs/how-to-work-on-guide-articles.md. PR #18411
Hope it will help!

There is still work pending on this. When you make a PR for this particular issue, do not tag it with Closes #XXXXX instead just reference it with #XXXXX

Hello, I'm starting to help on the translation of the document /how-to-set-up-freecodecamp-locally.md

Working on >/docs/spanish/how-to-work-on-guide-articles.md

Hello, I've improved the CONTRIBUTING.md file #18684

Hello,
Working on docs/spanish/how-to-setup-freecodecamp-locally.md
And improving /docs/spanish/how-to-catch-outgoing-emails-locally.md

Improving docs/spanish/how-to-catch-outgoing-emails-locally.md

Hi, I'm improving docs/spanish/how-to-work-on-coding-challenges.md

Hi, can I help with /docs/spanish/how-to-setup-freecodecamp-locally.md?

Sorry, I opened a bad PR regarding README.md but already closed it. I found there was still an English part to be translated #21848

Hi there,
It would be good if checkboxes at the top are checked so we can see what is left to be translated.
Thanks

Where I can start helping?

@raisedadead sorry to put it in this issue, but is there any way somebody could help with the pull requests?
I guess you opened a Pandora Box with your articule about HacktoberFest.

Hey all, not a translation, but fixes for the language bar of HTML links on the README file for Spanish, and markdown links to the How To guides that everyone has been translating. #28207.
@MetCoder95 or anyone else looking to do translations in Spanish, you could make a copy of the 2 style guides to translate into Spanish from the English version in the doc folder. It looks like those weren't added in to the Spanish folder originally or included on this issue. Just leave the title the same, but put it in the Spanish folder😊

Hola! to all. I believe we should have guidelines for Spanish translations, which include what treatment (formal or informal) to use when referring to actions or the user.  For example, Agregue (formal) or Agrega (informal). - I don't know if this kind of things are found in other languages.
In the last articles I've read I've seen a mix between formal and informal, and I think we should standardize (I have done it with some articles). I propose to always use informal.
Another thing that could be specified in the guidelines is:
Challenges translations. Should they be translated?
Referrals to types and attributes (which need to be in English for proper coding). For example, type "date" not type "fecha".
If there is a guideline already, please let me know, if not, I would be happy to start one (just let me know where to put it).
Hey @raisedadead I would like to know your thoughts about this.
Thanks to you all and happy coding!

@tomaspozo I agree that we shouold standardize around informal.
I agree with you that we should look out for words like "fecha" that have been accidentally translated during our automated translation process.

@dgrcode Thanks - I agree that these machine translations need improvement. I encourage you to dig in and start fixing them. Be sure to join gitter.im/freecodecamp/contributors if you need help getting set up 👍

There is still work pending on this. When you make a PR for this particular issue, do not tag it with Closes #XXXXX instead just reference it with #XXXXX

Thanks for working on the translations for the "Contributing to freeCodeCamp". Here on we are making contributing to translations for contribution docs ad hoc.
You are free to make pull-requests for improving these translations. We are closing the issue as these do not need tracking per se.
You can raise a fresh issue if you find something incorrect in the existing docs.


Run React-static-boilerplate in cloud9

Once I've upgraded NodeJs on a cloud9 server, everything is running and working.
When I'm running the server with :
run node Is working well. However, cloud 9 needs to specify the HOST and PORT with its specials vars $IP and $PORT.
this doesn't work:
node run --host $IP -p $PORT
How or what do I have to do to make it work?

@Ruffeng nice use case! Setting this port inside the run.js/tasks.set('start', ...)  function, for example:
bs.init({
  server: {
    baseDir: 'public',
    middleware: [...]
  }
}, resolve);

will become:
bs.init({
  server: {
    port: process.env.PORT,        // <= explicitely set the port (default is 3000)
    baseDir: 'public',
    middleware: [...]
  }
}, resolve);

bs.init(..) launches a new Browsersync (dev server). Here is the full list of its options:
https://browsersync.io/docs/options

@koistya good answer!! However it still stuck with the same problem. Checking the options from browsersync I set up to the host option.
...
// code
bs.init({
          server: {
            host: process.env.IP,
            port: process.env.PORT,        // <= explicitely set the port (default is 3000)
            baseDir: 'public'
            ....
// More code

I've been checking through internet trying to solve it but I cannot work out.
Thanks in advance!

I just pushed e059b92. Please, let me know if it doesn't fix the issue.

Hi @koistya, it works perfectly!
Thank you so much!
If I can help with something don't hesitate to contact me.

@Ruffeng, always welcome! If you can help me to tweak CSS on the error page a little, that would be awesome! Here https://github.com/kriasoft/react-static-boilerplate/issues/97

I'll try it!


Improve blog post UI

Feature request-
Improve styling of the information displayed in the blog post.
Make their colors consistent, add some padding since they look so compact, maybe add them in bootstrap pills or any styling of choice.

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign

Complete one of the other two issues to get this one assigned. Try to have at most 2 assigned at a time

Hi can you please assign me this issue? I am GSSOC'21 participant.

/assign

I have made some changes in the styling. Can you please approve if this works?

@Pranav016

@Pranav016 can you please confirm these changes

Keep likes and comments together and then views separately. Add them in boxes or styled bootstrap pills

@anniesaxena Hey, are you still working on this?

@anniesaxena Hey, are you still working on this?

If not, you can assign me


Updated pi4j.version to 2.6.0

Updated pi4j.version to 2.6.0 so that it could work on Raspberry Pi 5.

also needs other import and some code changes, let me merge and make some extra changes

@FDelporte Thanks so much Frank.  Looking forward.


undefined useUrlFragment issue fix

This error appears when switching tabs:

TypeError: this.options is undefined
Call stack:
selectTab
boundFn
click
invoker

Here is a gist with minimal bug example https://gist.github.com/lebedevsergey/008122108a345a0885c1c2a50fa11a5c:
The error happens in code:
if (event && !this.options.useUrlFragment) {
	event.preventDefault();
}

,and is caused by the fact that this.options value can be undefined.
I quickfixed issue by adding check for this.options value:
if (event && (this.options === undefined || !this.options.useUrlFragment)) {
	event.preventDefault();
}

Thank you for this but going to fix myself a bit more clean.


Checkpoint Boxes Function needs to be made

Save respawn point (in the same level), if hard/impossible levels

removed bug label as it's not implemented yet to be a bug

What color would the respawn boxes be?

let's have them as light green

This feature has been added in dsn_levels v.0.2.0


Release 2.9.2 error: Cannot change root disk device of a profile if containers are still using it.

Required information

Distribution: Ubuntu
Distribution version: 16.04.2 LTS
The output of "lxc info" or if that fails:

config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFRjCCAy6gAwIBAgIQYfOOU0Kh9XIrBzV4gibKKjANBgkqhkiG9w0BAQsFADA0
    MRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRQwEgYDVQQDDAtyb290QGNl
    cmVhbDAeFw0xNzAyMDIwMjA2MDNaFw0yNzAxMzEwMjA2MDNaMDQxHDAaBgNVBAoT
    E2xpbnV4Y29udGFpbmVycy5vcmcxFDASBgNVBAMMC3Jvb3RAY2VyZWFsMIICIjAN
    BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAqM8fz4roc3euZMiZ0tLNaofC8t1F
    kYraxFY0I7UxJZmpHJ6E0dho+ksWQiaz33PaBHDRNbSHIQVaWeLK6uAdBfmRg94N
    TcFHY5tiA4rMXMtPdkvKu9ANQMTUY2UqNVO8JnSwTOh3kjRjFUiEocnffzNPoBPN
    LCRI4eesvbYUshje4iGNn1Q4O3M7Dg1YzdQa/Oz4EAb55kH1/xu8MSq8WCPHqBPv
    wAb+64n3RflMmuxz60jsdu+R5v5G42ldqjBmqgdVBhX2n3rrFEmc/uQ36Amb1ERD
    s6arXjCl3vfswk8od/ryG0yEDruc56FOuZvE/lW9uRqoTfvSd+hVufOoWdgS95jz
    GMgWJKporU5oNJB2IUPVrs5mjNmPx3DT0h8hXKTKoRJSVlUPakFYU4X9Z6FfozZx
    zsKS7+xT66NPOFgOz4H75bFurwgmV9XpTvJUMih2kJRVVDtBXYGjHu3IhyoT67jQ
    0ZGFep3T6bP9Yb5zObxkDQqzgJETEwImIk5q934aEHxdaSZsgmxgku8AM2C5GzlQ
    2C2zZsmTpiO/noXkBnT3JMqrqDLpnryalSDg0nFVpBFUAupAb12B9SpQ8RFH4l1z
    eYEGrsnjgky255ubgJPmsxXWITKixU1zRPg6/imqIy43bT2jHrASgA8mldD7iWRa
    M0aApfPNabewznUCAwEAAaNUMFIwDgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQMMAoG
    CCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwHQYDVR0RBBYwFIIGY2VyZWFshwQKHx8f
    hwTAqHoBMA0GCSqGSIb3DQEBCwUAA4ICAQCiIo+Gfuyri9EcwGaGa3mS4r+OoImN
    O4GEu24jWB3qNuKe2ff4FYEJJLS01RJOQbpP0pZvJRere3FoOFguiVMmHxfMlo/w
    eCa5nqqMI5uLc0qdJqPirRWntC2ruuqNeecx/lhi+SMNQWblFZNCE9OFJApRImRW
    588FG70GDZhfTGb+S9F5TP56V1iCli+TOdT8X80I+7TAt1p/jcRpOJig37Foz8Ys
    m+mnFpqToYg68aX2F/M1ltMgZ61T+DWA3EXY3pFw1tQShBCuLcZ/COg0m7FPbts6
    XCgJRrvx44Cvo25z23U7FMYVqGNx02uV05Vu7T2bSnkDgeZ5eLfjhqnA1M3E2NNZ
    en5tVLVpbz3QG9rNNKzkiiNCGQZ9zy5KOsYVWDU8eST4vtx6yX0PMM8UhfqRr2XZ
    1N4Bjh7e4NnRvYO4jdKQONe+2q9NxACyPijriwaY+BSb/i+R4ii7ShbpXH8Ues7Q
    lxzxDOXeICzgLU2ticeplbXhoGDYvV7XILPEmU2OxRmscKiboNDpzv3CEqBn+t7E
    dsSVXLJ8skN+wFwMfKH2P85bVcVDjo8vwgFNhTZa4VtS16YtvG/adm3VOuFtkDec
    RB11KGV373/6yR0cgQz2/8EY7RbgBtzD+/gxw7IL4hHrsri0wKxT0MKYyDfoqvxF
    MWCSeOeHJc4w8w==
    -----END CERTIFICATE-----
  certificate_fingerprint: ee7bde8820b01530bbd862f5629a3aaf89e62ddc7c2a7a75e2be74d9ce6258cb
  driver: lxc
  driver_version: 2.0.7
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.4.0-62-generic
  server: lxd
  server_pid: 19007
  server_version: 2.9.1
  storage: dir
  storage_version: "1"

Storage backend in use: dir

Issue description
Upgrading from 2.9.1 to 2.9.2 fails with "error: Cannot change root disk device of a profile if containers are still using it."
Steps to reproduce

Have 2.9.1 installed
Upgrade via apt
Hope for the best

Information to attach
Apt upgrade log:
cereal@cereal:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-59 linux-headers-4.4.0-59-generic linux-image-4.4.0-59-generic linux-image-extra-4.4.0-59-generic
  linux-signed-image-4.4.0-59-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  linux-headers-4.4.0-64 linux-headers-4.4.0-64-generic linux-image-4.4.0-64-generic linux-image-extra-4.4.0-64-generic
  linux-signed-image-4.4.0-64-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic linux-libc-dev linux-signed-generic linux-signed-image-generic lxd
  lxd-client
8 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 74.1 MB of archives.
After this operation, 297 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-image-4.4.0-64-generic amd64 4.4.0-64.85 [21.8 MB]
Get:2 http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu xenial/main amd64 lxd amd64 2.9.2-0ubuntu1~ubuntu16.04.1~ppa1 [2,824 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-image-extra-4.4.0-64-generic amd64 4.4.0-64.85 [36.0 MB]
Get:4 http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu xenial/main amd64 lxd-client amd64 2.9.2-0ubuntu1~ubuntu16.04.1~ppa1 [1,948 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-generic amd64 <IP_ADDRESS>.68 [1,784 B]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-image-generic amd64 <IP_ADDRESS>.68 [2,456 B]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-signed-image-4.4.0-64-generic amd64 4.4.0-64.85 [4,014 B]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-signed-generic amd64 <IP_ADDRESS>.68 [1,814 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-signed-image-generic amd64 <IP_ADDRESS>.68 [2,496 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-headers-4.4.0-64 all 4.4.0-64.85 [9,899 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-headers-4.4.0-64-generic amd64 4.4.0-64.85 [780 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-headers-generic amd64 <IP_ADDRESS>.68 [2,434 B]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-64.85 [834 kB]
Fetched 74.1 MB in 6s (10.7 MB/s)
(Reading database ... 289409 files and directories currently installed.)
Preparing to unpack .../lxd_2.9.2-0ubuntu1~ubuntu16.04.1~ppa1_amd64.deb ...
Warning: Stopping lxd.service, but it can still be activated by:
  lxd.socket
Unpacking lxd (2.9.2-0ubuntu1~ubuntu16.04.1~ppa1) over (2.9.1-0ubuntu3~ubuntu16.04.1~ppa1) ...
Preparing to unpack .../lxd-client_2.9.2-0ubuntu1~ubuntu16.04.1~ppa1_amd64.deb ...
Unpacking lxd-client (2.9.2-0ubuntu1~ubuntu16.04.1~ppa1) over (2.9.1-0ubuntu3~ubuntu16.04.1~ppa1) ...
Selecting previously unselected package linux-image-4.4.0-64-generic.
Preparing to unpack .../linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
Done.
Unpacking linux-image-4.4.0-64-generic (4.4.0-64.85) ...
Selecting previously unselected package linux-image-extra-4.4.0-64-generic.
Preparing to unpack .../linux-image-extra-4.4.0-64-generic_4.4.0-64.85_amd64.deb ...
Unpacking linux-image-extra-4.4.0-64-generic (4.4.0-64.85) ...
Preparing to unpack .../linux-generic_<IP_ADDRESS>.68_amd64.deb ...
Unpacking linux-generic (<IP_ADDRESS>.68) over (<IP_ADDRESS>.67) ...
Preparing to unpack .../linux-image-generic_<IP_ADDRESS>.68_amd64.deb ...
Unpacking linux-image-generic (<IP_ADDRESS>.68) over (<IP_ADDRESS>.67) ...
Selecting previously unselected package linux-signed-image-4.4.0-64-generic.
Preparing to unpack .../linux-signed-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb ...
Unpacking linux-signed-image-4.4.0-64-generic (4.4.0-64.85) ...
Preparing to unpack .../linux-signed-generic_<IP_ADDRESS>.68_amd64.deb ...
Unpacking linux-signed-generic (<IP_ADDRESS>.68) over (<IP_ADDRESS>.67) ...
Preparing to unpack .../linux-signed-image-generic_<IP_ADDRESS>.68_amd64.deb ...
Unpacking linux-signed-image-generic (<IP_ADDRESS>.68) over (<IP_ADDRESS>.67) ...
Selecting previously unselected package linux-headers-4.4.0-64.
Preparing to unpack .../linux-headers-4.4.0-64_4.4.0-64.85_all.deb ...
Unpacking linux-headers-4.4.0-64 (4.4.0-64.85) ...
Selecting previously unselected package linux-headers-4.4.0-64-generic.
Preparing to unpack .../linux-headers-4.4.0-64-generic_4.4.0-64.85_amd64.deb ...
Unpacking linux-headers-4.4.0-64-generic (4.4.0-64.85) ...
Preparing to unpack .../linux-headers-generic_<IP_ADDRESS>.68_amd64.deb ...
Unpacking linux-headers-generic (<IP_ADDRESS>.68) over (<IP_ADDRESS>.67) ...
Preparing to unpack .../linux-libc-dev_4.4.0-64.85_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-64.85) over (4.4.0-63.84) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu16) ...
Setting up lxd-client (2.9.2-0ubuntu1~ubuntu16.04.1~ppa1) ...
Setting up lxd (2.9.2-0ubuntu1~ubuntu16.04.1~ppa1) ...

Old bridge configuration detected in /etc/default/lxd-bridge, upgrading
Unsetting deprecated profile options
error: Cannot change root disk device of a profile if containers are still using it.
dpkg: error processing package lxd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up linux-image-4.4.0-64-generic (4.4.0-64.85) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-64-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Setting up linux-headers-4.4.0-64 (4.4.0-64.85) ...
Setting up linux-headers-4.4.0-64-generic (4.4.0-64.85) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
Setting up linux-headers-generic (<IP_ADDRESS>.68) ...
Setting up linux-generic (<IP_ADDRESS>.68) ...
Setting up linux-signed-image-4.4.0-64-generic (4.4.0-64.85) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Setting up linux-signed-generic (<IP_ADDRESS>.68) ...
Setting up linux-libc-dev:amd64 (4.4.0-64.85) ...
Errors were encountered while processing:
 lxd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Hmm,
So that's pretty confusing because that error string existing in 2.9.1 but doesn't in 2.9.2...
Can you do a fresh run of the following:

lxc info
lxc --version
lxd --version
systemctl status lxd

And then try to resolve whatever happened with:

sudo systemctl restart lxd
sudo apt -f install

If that does the trick, then run the first set of commands again to check that all is good.

Re-reading the log it actually makes some sense.
For some reason your system has a /etc/default/lxd-bridge file even though that was deprecated back in LXD 2.3. The presence of that file triggers an upgrade code which runs BEFORE the new LXD is run. That's because the upgrade code is meant to run when upgrading from < 2.3 to > 2.3.
It's that upgrade code which ran into the LXD 2.9.1 bug and failed your upgrade.
My instructions above should force LXD 2.9.2 to start, then re-running the packaging code should work fine and get you a working apt again.
So there's unfortunately nothing we can do to fix that upgrade issue since it's running the old LXD binary and not the new one. The good news is that it's limited to users upgrading from 2.9.1 and 2.9.2 who somehow managed to get themselves a /etc/default/lxd-bridge file back on their disk after the initial upgrade at LXD 2.3.


Do not filter pytest-django==1.0 from test.txt

Otherwise I'd keep wondering why it works with dev.txt (locally) but not with test.txt (on Travis)

Thanks for the pull request, @OmarIthawi! I've created OSPR-2408 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.
If you like, you can add yourself to the AUTHORS      file for this repo, though that isn't required.     Please see the CONTRIBUTING     file for more information.

@jmbowman FYI!

@OmarIthawi 🎉 Your pull request was merged!
Please take a moment to answer a two question survey so we can improve your experience in the future.


Slow task creation

There are two servers with a CVAT, on one a task for 40,000 frames is created in 10 minutes, on the other for 2-3 hours. What is the reason for this? with a long load, it writes that many keyframes have been detected and the old method will be used.

Do these servers have different CVAT versions?

Slow is the latest version, fast is v1.1.0

Since 1.1.0 optimized data streaming process was introduced (using .zip or video chunks instead of passing frames one by one), during performing annotations.
But, in order to get frames faster on client, CVAT needs to do some preparation work on creating task stage (preparing these chunks), what makes this process longer.
For some videos it is possible to collect meta information and create chunks "on the fly" when requested.
For some videos, like in your case, when few keyframes detected, the option above is not possible.


fixed: for select usage error(#100)

Fix #100

the client will block because the channel is not closed, a simple demo to verify the idea, End of data will never have a chance to print.
package main

import (
	"fmt"
	"time"
)

func reader(ch <-chan int) {
	for record := range ch {
		fmt.Println(record)
	}
	fmt.Println("End of data")
}

func main() {
	var ch = make(chan int)
	go reader(ch)
	for i := 0; i < 10; i++ {
		ch <- i
	}
	time.Sleep(time.Second * 10)
}

Currently, we don't have any restrictions, so we can still call WritePointWithRp after closing it. It may contains some leak.

Currently, we don't have any restrictions, so we can still call after closing it. It may contains some leak.WritePointWithRp

Close() semantics have no effect.

Close method:
func (c *client) Close() error {
	c.batchContextCancel()
	c.dataChanMap.Range(func(key, value interface{}) bool {
		close(value.(chan *sendBatchWithCB))
		c.dataChanMap.Delete(key)
		return true
	})
	return nil
}

WritePointWithRp method line 57, add a context cancel judgment to prevent the program from writing data to a closed channel:
if c.batchContext.Err() != nil {
    return errors.New("batch write failed, error: " + c.batchContext.Err().Error())
}


BAU: Bring in test types

I was getting repeated errors in VS code I think this change will help.
It's an improvement so will look again after we've deployed the big changes.
How to review
Check out main open in VS code (or your IDE), and check to see if you're getting type errors in test files
then check out this branch and see if they go away.
If that happens + the tests work + linting passes + it builds, then let's do it!

Not sure if I can merge this or not now given the code freeze?
If that ambiguity goes away and this is still good to merge.. just press the green button in my absence!

@divyaparameswaran  can this be merged?  I can't see a ticket it relates to

Sure let me just resolve the conflict . Then we should be good to merge


pkg update yields "pkg: file:///var/synth/live_packages/meta.txz: No such file or directory" after running synth

After running synth (probably synth upgrade-system or synth status), pkg update yields errors regarding repository files belonging to synth.
$ pkg update
Updating Synth repository catalogue...
pkg: file:///var/synth/live_packages/meta.txz: No such file or directory
repository Synth has no meta file, using default settings
pkg: file:///var/synth/live_packages/packagesite.txz: No such file or directory
Unable to update repository Synth
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.

This is on a FreeBSD 10.1 hosts.

try "synth rebuild-repository" so you can see why the repository isn't getting built.
(probably related to the issue with a failed tree scan)

I haven't seen this issue again after rebuilding the repository. Not exactly sure what happened.


Percentage in statistics panel

For the statistics panel, I think it would be nice to also show the number in percentage (e.g. percentage of relevant among all articles). To help users decide on when to stop, it might be a good idea to also show the number of articles marked as irrelevant continuously (i.e. the last X presented abstracts were labelled irrelevant). Would be nice to show it as a percentage too.

Closed in #214


[BUG] Cannot click on "Open in Colab" badges

Describe the bug
I cannot click on "Open in Colab" badge in examples that are displayed in the documentation.
To Reproduce

Go to https://rl4co.readthedocs.io/en/latest/_collections/2-full-training.html
Try to click on "Open in Colab"
It doesn't work (tried Firefox and Safari)
It does work when rendered in Github: https://github.com/ai4co/rl4co/blob/main/examples/2-full-training.ipynb

System info
N/A
Additional context
I was trying to see how you implemented Colab notebooks for your examples and then I noticed this behavior :-).
Reason and Possible fixes
Instead of using HTML hyperlinks like this:
"\n"

I think it will work when you use Markdown-style rendering like this:
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ai4co/rl4co/blob/main/examples/2-full-training.ipynb)

That works for me when notebooks are rendered using nbsphinx. Not 100% sure though if this also fixes this issue.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have provided a minimal working example to reproduce the bug (required)

Thanks @leonlan for reporting! We noticed this as well before, it seems to be a problem with the compilation of Jupyter notebooks that "flatten" those buttons :thinking:
We are planning to go through the docs before the 0.5.0, possibly changing the template to something a better than the PyTorch Lightning docs one (maybe trying to copy-paste from your PyVRP ;) ). Similarly let's switch the main installer to poetry @cbhua , it is long due :rofl:

Latest version of the documentation is out!
https://rl4co.readthedocs.io/en/latest/
The Colab badge seems to work fine now ~

docs looking good :-)

We imitated quite a bit PyVRP's style ;)
(But we did in MkDocs which turned out to be... quite a bit harder than expected 🤣 )


Update hotfix ghpages[skip ci]

Signed-off-by: liyuan<EMAIL_ADDRESS>Update hotfix ghpages

there is one invalid link I will draft another pr to fix branch-21.12 and main-branch in /docs/additional-functionality/ml-integration.md
[working example](https://github.com/NVIDIA/spark-rapids-examples/tree/branch-21.12/examples/Spark-cuML/pca)


i dont know how to post comments thats why iam posting this could you please tell what is the url should i pass to retrive category pages

i dont know how to post comments thats why iam posting this could you please tell what is the api url and how should i pass to retrive category pages

You need to retrieve the API homepage which will have links to the different categories available. Take a look at demo.php and see how it works.


Homepage

users can log in, log out and sign up

I deleted fire.js from the homepage branch (sorry, it keeps getting uploaded ugh). And yes I believe most linter errors are for variables that I imported that I ended up not using.. Feel free to create a new branch on your local machine, pull from this branch and test out the website! See yall tomorrow :)


VP9 SVC layers mapping

This PR implements solution discussed in the issue #404.

@algesten Done!
Also created a new issue #411 after testing this task

Perfect! Thanks!


Anybody knows how make a simple submit with ajax in rails with framework 7?

No Code & No Description.
@marcosvicente this is not a forum. Try stackoverflow.
@valnub & @nolimits4web Move to close?

@ZanderBrown is right
@marcosvicente Please ask on one of these platforms and add more details to your question so others can understand what you're asking:

http://forum.framework7.io
http://www.stackoverflow.com

Hey, @ZanderBrown can you contact me please via https://www.timo-ernst.net/contact/ or https://twitter.com/timo_ernst
I want to ask you something, thanks! :)