Pip dependencies have failed to install

Branch: 0.14 (installing on Windows 7)
Current Behavior: Error while installing 0.14 over 0.13 (fully functional with several coaches & learners & language packs):
Pip dependencies have failed to install.

(The spelling error has been fixed in https://github.com/learningequality/installers/pull/73)
The installation continued after this error, but is probably why the 0.14 server was unable to start at the end. I had no issues with Pip this morning when I did a clean new install on another Win 7 machine.
Steps to reproduce:

Download & install the 0.14 on the machine with previous 0.13 installation of KA Lite

Update: Tried to run pip install -r requirements.txt manually, and it turned out python was not recognized because it was nowhere to be found in Path/Environment variables on this machine (which is weird since I had a local GH repo running a few weeks ago, and 0.13 was also running fine). Anyhow, that didn't help, since I'm still getting the Pip dependencies have failed to install. error... :(

@radinamatic did you install python 2.7.10 when this error occurred, as @Mufasa-yang reported?

No, on that Win7 I was not prompted to install python (it was already installed, though 2.7.9 if I recall well). It's booted in Ubuntu now, I can check later and install 2.7.10 to see if it will make a difference. @MCGallaspy

One thing I did notice while installing on another Win8: the Python 2.7.10 installer that comes up where it is not previously installed, does not have the Setup Python path enabled by default, and that option is on the bottom of the list inside the installer wizard window. So unless you do not scroll and activate it, it will be disabled and no Python (and Scripts) will not be setup in Windows Path. Maybe that's the reason for the Pip dependencies error? @MCGallaspy

Installed Python 2.7.10 and rerun KALiteSetup-0.14.0.exe, but no dice: Pip dependencies have failed to install critical error keeps popping up... :(

Issue still valid after installing the build 169 from the Dungeon. Downloading the installer @MCGallaspy made available in #73 to see if it will make a difference.

No idea what devilish forces are at play here, but after trying with the installer from @MCGallaspy 's #73, the creepy Pip dependencies have failed to install critical error resists... :(
Funny thing is that if I try to add them manually, everything works:
meda@MEDA-HP7 /d/Program Files/KA Lite/ka-lite
$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): django-compressor==1.4
 in d:\python27\lib\site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): docopt<0.7,>=0.6 in d:
\python27\lib\site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): South==0.8.4 in d:\pyt
hon27\lib\site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): django-js-reverse==0.5
.0 in d:\python27\lib\site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): ply==3.4 in d:\python2
7\lib\site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): slimit==0.8.1 in d:\py
thon27\lib\site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): six==1.9.0 in d:\pytho
n27\lib\site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): django-appconf==1.0.1
in d:\python27\lib\site-packages (from -r requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): Django>=1.5 in d:\pyth
on27\lib\site-packages (from django-js-reverse==0.5.0->-r requirements.txt (line
 4))

meda@MEDA-HP7 /d/Program Files/KA Lite/ka-lite
$ pip install -r requirements_dev.txt
Requirement already satisfied (use --upgrade to upgrade): django-compressor==1.4
 in d:\python27\lib\site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): docopt<0.7,>=0.6 in d:
\python27\lib\site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): South==0.8.4 in d:\pyt
hon27\lib\site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): django-js-reverse==0.5
.0 in d:\python27\lib\site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): ply==3.4 in d:\python2
7\lib\site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): slimit==0.8.1 in d:\py
thon27\lib\site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): six==1.9.0 in d:\pytho
n27\lib\site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): django-appconf==1.0.1
in d:\python27\lib\site-packages (from -r requirements.txt (line 8))
Collecting behave==1.2.4 (from -r requirements_test.txt (line 2))
  Downloading behave-1.2.4.tar.gz (343kB)
←[K    100% |################################| 344kB 417kB/s ta 0:00:01
Collecting selenium==2.45.0 (from -r requirements_test.txt (line 3))
  Downloading selenium-2.45.0.tar.gz (2.6MB)
←[K    100% |################################| 2.6MB 78kB/s eta 0:00:01
Collecting pysparklines==0.9 (from -r requirements_test.txt (line 4))
  Downloading pysparklines-0.9.tar.gz
Collecting unittest2==0.7.1 (from -r requirements_test.txt (line 5))
  Downloading unittest2-0.7.1-py2.py3-none-any.whl (93kB)
←[K    100% |################################| 94kB 585kB/s ta 0:00:01
Collecting mock==1.0.1 (from -r requirements_test.txt (line 6))
  Downloading mock-1.0.1.tar.gz (818kB)
←[K    100% |################################| 819kB 227kB/s ta 0:00:01
Collecting werkzeug (from -r requirements_dev.txt (line 2))
  Downloading Werkzeug-0.10.4-py2.py3-none-any.whl (293kB)
←[K    100% |################################| 294kB 512kB/s ta 0:00:01
Collecting django-debug-toolbar (from -r requirements_dev.txt (line 3))
  Downloading django_debug_toolbar-1.3.2-py2.py3-none-any.whl (206kB)
←[K    100% |################################| 208kB 512kB/s ta 0:00:01
Collecting pyyaml==3.11 (from -r requirements_dev.txt (line 4))
  Downloading PyYAML-3.11.tar.gz (248kB)
←[K    100% |################################| 249kB 511kB/s ta 0:00:01
Requirement already satisfied (use --upgrade to upgrade): Django>=1.5 in d:\pyth
on27\lib\site-packages (from django-js-reverse==0.5.0->-r requirements.txt (line
 4))
Collecting parse>=1.6.3 (from behave==1.2.4->-r requirements_test.txt (line 2))
  Downloading parse-1.6.6-py2-none-any.whl
Collecting parse-type>=0.3.4 (from behave==1.2.4->-r requirements_test.txt (line
 2))
  Downloading parse_type-0.3.4.tar.gz (62kB)
←[K    100% |################################| 65kB 1.4MB/s ta 0:00:01
Collecting argparse (from unittest2==0.7.1->-r requirements_test.txt (line 5))
  Downloading argparse-1.3.0-py2.py3-none-any.whl
Collecting sqlparse (from django-debug-toolbar->-r requirements_dev.txt (line 3)
)
  Downloading sqlparse-0.1.15.tar.gz (57kB)
←[K    100% |################################| 61kB 1.0MB/s ta 0:00:01
Collecting enum34 (from parse-type>=0.3.4->behave==1.2.4->-r requirements_test.t
xt (line 2))
  Downloading enum34-1.0.4.tar.gz
Installing collected packages: parse, enum34, parse-type, behave, selenium, pysp
arklines, argparse, unittest2, mock, werkzeug, sqlparse, django-debug-toolbar, p
yyaml
  Running setup.py install for enum34
  Running setup.py install for parse-type
  Running setup.py install for behave
  Running setup.py install for selenium
  Running setup.py install for pysparklines
  Running setup.py install for mock
  Running setup.py install for sqlparse
  Running setup.py install for pyyaml
Successfully installed argparse-1.3.0 behave-1.2.4 django-debug-toolbar-1.3.2 en
um34-1.0.4 mock-1.0.1 parse-1.6.6 parse-type-0.3.4 pysparklines-0.9 pyyaml-3.11
selenium-2.45.0 sqlparse-0.1.15 unittest2-0.7.1 werkzeug-0.10.4

meda@MEDA-HP7 /d/Program Files/KA Lite/ka-lite
$

Python/pip can't be a problem:
meda@MEDA-HP7 /d/Program Files/KA Lite/ka-lite
$ python --version
Python 2.7.10

meda@MEDA-HP7 /d/Program Files/KA Lite/ka-lite
$ pip --version
pip 7.1.0 from d:\Python27\lib\site-packages (python 2.7)

I believe I know the cause of this error: d:\Python27\lib\site-packages. The installer is unable to find pip, because the path is hard-coded. Fix incoming.

Fixed in #88, closing.

Let's keep it open until #88 is merged.


Flake8 rule 'F821' reported an invalid point

Flake8 reported an invalid point for the rule F821, with the messge undefined name 'e'.

Debug information:
Atom version: 1.32.1
Flake8 version: 3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.6.5 on Darwin

Duplicate of #600


ignite 11410 strict access to internal API

This PR is associated with a resolved ticket. Closing the PR, please reopen it if you still need it.


Add has summary page property to content section

As part of the DOS work, a need has come up for section pages to appear based on certain conditions.

if a section has some description text the user needs to read
if a section holds more than one question the user needs to be able to see them all in one place

If neither of these are the case, and so there is only one question in the section, the user should be taken straight to that section's question.
These conditions are based on a relationship between properties on instances of the ContentSection class so it seems sensible for a property to be added which indicates the boolean result of that decision.

The code here looks fine, and if it's what you need to make the briefs work then yes do it.
I'm not 100% sold on the logic though - surely a single question with a description could (at least in principle) all be rendered on a single page?  I'm just thinking of the future - might we have service submission questions with a description that should be rendered on the same page as the question? The G-Cloud lot selection question has descriptions already, and these all get shown on the same page (e.g. https://github.com/alphagov/digitalmarketplace-frameworks/blob/master/frameworks/g-cloud-7/questions/services/lot.yml#L7)

:+1:


Added reset button

Can you please provide some screenshot or screen recording of it in action?

As I recently pulled a big pull request, you sync your version to it and modify the pull request to not have the merge conflicts, if you face any problems, reach out to me on discord.


Wrong working directory when opening Emacs + sly + SBCL from context menu

Description
Opening Emacs + SBCL from folder's context menu does not set it as a working directory for sly's REPL.
I suppose it's not the end of the world for me and it's very specific, but if it's an issue on my side, just let me know, please. (though it clearly is an inconsistency, as I see it)

Since replicating the issue itself is a difficult process because of the first step, I'm ready to perform any debugging steps necessary on my side, rather than expecting you to find out how to install the package for yourself.
Steps To Reproduce

Install Emacs + sly + SBCL, which is a package for Common Lisp development.
Open an instance of Emacs in the same directory in both the default file explorer an Files.
In the sly REPL buffer type in (print *default-pathname-defaults*)  which prints out current working directory.
???
See the difference.

Requirements
I do not know just how deep the differences from regularily opening a folder in Emacs from file explorer go, but surely both opening it by right-clicking on a folder and on it's background result in the working directory not setting correctly. For some reason it always sets to system32 folder, where as simply opening emacs with no folder specified sets it to it's own installation directory. To sum it up: it works in the default file explorer, but bugs in Files.
The command in registery which opens Emacs from folder's context menu is this:
"path\to\emacs\root\emacs-29.3_2\bin\runemacs.exe"  "%V"
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3958
Log File
debug.log

Thanks for the report, Can you confirm this is the same as #12950.

@Josh65-2201 Yes, sounds very similar. Getting the same System32 directory.

Thanks, We're going to keep tracking this there. You can check there or click subscribe in the right sidebar for updates.


[FP]: CVE-2023-1108 in undertow-core-2.2.24.Final.jar

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:redhat:undertow:2.2.24
CVE
CVE-2023-1108
ODC Integration
{"label"=>"Gradle Plugin"}
ODC Version
8.0.2
Description
This looks like a false positive: https://security.snyk.io/vuln/SNYK-JAVA-IOUNDERTOW-3358231

reopened in https://github.com/jeremylong/DependencyCheck/issues/5713 with the correct FP Report label


Thanks!

I just noticed that you made a new release, v4.4.0, a couple of days ago. Thanks for keeping up the good work. I really appreciate it :)

@yhoiseth No problem at all!  I haven't had much time lately to devote to adding complex features, but I at least found some time the other day to do a version bump and add testing for more recent versions of Django, Python, etc.  Glad you're getting some use out of the project!


Automated cherry pick of #9015: fix(region): huawei sync storages bugfix

Cherry pick of #9015 on release/3.5.
#9015: fix(region): huawei sync storages bugfix

/lgtm
/approve


Remove text history, fix up subscription history timestamp parsing

The subscription events return a timestamp in an internal format it seems, which does change a bit between the different panels.
Sadly, the solution panels don't even give you a date as part of the text format either, so we can't even rely on parsing that either.
I don't think amax panels even support subscriptions, nor do i expect there to ever be a dev firmware that adds that functionality, but it'll likely be the same format as solution either way if they do add one, so i've just made that assumption here

Thank you!


CLIMATE-643 - Updating unit conversion function

In many cases, observational and model datasets have different units for the same variable. We need to update variable_unit_conversion module is needed in dataset_processor. This new module is based on water_flux_unit_conversion.

Merged build triggered. Test Failed.

Merged build started. Test Failed.

Merged build finished. Test Passed.

Good stuff @huikyole. Can I ask why we're copying the code from water_flux_unit_conversion nearly verbatim into this new function instead of just calling the existing code? That's just a maintenance mistake waiting to happen and it seems like it would be much more useful to separate out the functionality right? Then we don't have to maintain the exact same functionality in multiple places.

The issue (https://issues.apache.org/jira/browse/CLIMATE-643?jql=project %3D CLIMATE) has been updated.


Migrate Codebase to typescript

1. Objective
Migrate the Codebase to Typescript.
Tbh, this is more a nice to have especially for marketing websites, but yeah, let's be like the cool kids.
PS: I need a lot of criticisms - I am a baby TS developer, would appreciate insights on things I can do better
2. Description of change

Migrated all pages to tsx (minus their subcomponents)
Migrated major components : button, text and input to typescript
Since Gatsby allows it, I think we can take a progressive approach to migrating the codebase so we are not stopping any proactive work because of this migration

3. Quality assurance

Kindly look through all pages and assert that things work as expected. It might be helpful to compare with otherfaces.tech

4. Operations impact
N/A
5. Business impact

Better DX (I think)

6. Priority of Change
Normal

Hi @Demoivre02 and @Joponpin2000 , this MR is now ready for review

Hi @Demoivre02 and @Joponpin2000 , this MR is now ready for review

Welldone boss


[CLI v0.6.0] XML file being treated as a directory.

When using CLI v0.6.0 I'm running into an issue where XML files are being treated as directories. The XML files are Cobertura-style results being generated from the xcresultparser tool.
Reverting to version 0.5.2 of the CLI tool resolves the issue for me, however, I'd prefer to use the most up-to-date version if possible.
The files are definitely not related to the issue since I am able to download / open them and they are single files. This coupled with the fact that a reversion resolved the issue makes me believe that something in the v0.6.0 release may be causing the issue.
Thanks in advance for the assistance, and let me know if there is any more information I can provide!

@maxwell-legrand can you provide a link to CI for this? Would like to be able to repro

I'm unable to provide a direct link as the CI job was run inside an organization. I was able to identify some possible root causes:
https://github.com/codecov/codecov-cli/commit/4de8fc24b865bf71c9d6b3cac9b1379fafa11883
My understanding is the above commit changes how file searching worked. We were explicitly naming files as well as using file search, and with how the download-artifact action works it was wrapping the files in a folder with the same name. (https://github.com/actions/download-artifact/issues/141) For example, we would download my-coverage.xml but it would be in a folder with the same name (e.g, the file would be located at my-coverage.xml/my-coverage.xml) and the codecov cli detected both the file AND the directory which caused it to fail.

👍 thanks @maxwell-legrand. this is on me, I'll work on a fix

Hey there , just wanted to follow up on this and see if there have been any updates? Thanks!

@maxwell-legrand apologies I haven't gotten to this yet, thanks for pinging back, will prioritize.


Add type checking changes for creating maps with query expressions

Purpose

$title

Fixes #36193
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@SandaruJayawardana Can you check the build failure?

@SandaruJayawardana Can you check the build failure?

Failing tests will be properly fixed with the PR of https://github.com/ballerina-platform/ballerina-lang/issues/36385. I will update this PR with disabling the failing tests as a temporary fix.

@SandaruJayawardana, can you update the PR since your first PR is merged to the branch?


unable to create the conda environment with linux-cpu-env.yml

coconda env create -f environment/linux-cpu-env.yml
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:

python-dateutil==2.6.1=py35_0
joblib=0.9.4
numba==0.35.0=np111py35_0
matplotlib==2.0.2=np111py35_0
path.py==10.3.1=py35_0
python=3.5.2
mako==1.0.6=py35_0

It's my first time to see this problem. Is the .yml file out-of-date or should I modify it?

it seems that some old version of packages can't be found if the free channel is not used. This can be solved by execute conda config --set restore_free_channel true before install the conda env. Then I met this problem:
Pip subprocess error:
parso requires Python '>=3.6' but the running Python is 3.5.2
You are using pip version 10.0.1, however version 20.3.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
failed
CondaEnvException: Pip failed
If I change python = 3.5.2 into python = 3.6, there will be conflicts, any suggestions?

Try adding - parso==0.7.1 to the pip dependencies, i.e. below -pip: in the linux-cpu-env.yml file.


Support for Ollama Planned/Possible?

Any ideas / plans to support ollama?
maybe following a similar approach as for TextGrad which runs perfectly on an embedded device like Jetson Orin.
PS. Awesome work, thx for sharing.

Hi there! Since Ollama supports an OpenAI-compatible server (https://ollama.com/blog/openai-compatibility), you can already use it with RouteLLM. Just launch the Ollama server, specify the --alt-base-url flag to point to your local server, and everything should work.
I'll update the README to make this clearer.


Increase configurable runtime maximum worker node count

Description

The maximum allowed autoscalerMax parameter should be increased to 300 for enterprise plans (aws, gcp, azure, sap-converged-cloud).
In the future, when multiple worker groups can be specified as parameters, KEB should validate if the sum of autocalerMax values of all worker groups don't exceed 300
Reasons
Kyna runtime artificially limits cluster nodes scalability, however in practice, the practical maximum nodes a cluster can withstand is in the 150-300 range.

Attachments

Right now we have autoscalerMax == 80

Summary how it will look. Azure Lite wasn't changed.

aws
gcp
azure
sap-converged-cloud
preview
azure lite

autoscalerMax maximum
300
300
300
300
300
40

@ebensom I've also included the preview plan in this change, unless it was specifically not mentioned in the issue and shouldn't be changed.

@MarekMichali LGTM!

@IwonaLanger please adjust https://help.sap.com/docs/btp/sap-business-technology-platform/provisioning-and-update-parameters-in-kyma-environment#loioe2e13bfaa2f54a4fb179f0f1f840353a__section_Auto_Scaler_Max to what @MarekMichali mentioned here: https://github.com/kyma-project/kyma-environment-broker/issues/858#issuecomment-2188465641

all request sent to dev, stage, prod


[TD-33118] fix(tmq): fix tmq recv_timeout core

Fix tmq recv_timeout core

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

Project coverage is 71.91%. Comparing base (1b1734e) to head (c4e9581).
Report is 2 commits behind head on main.

Files with missing lines
Patch %
Lines

taos-optin/src/tmq/raw.rs
82.45%
10 Missing :warning:

taos-optin/src/tmq/mod.rs
95.55%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #388      +/-   ##
==========================================
+ Coverage   71.88%   71.91%   +0.03%
==========================================
  Files          97       97
  Lines       35070    35134      +64
==========================================
+ Hits        25209    25267      +58
- Misses       9861     9867       +6

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


687 split substrings in readout items

This PR resolves #687

@shanberg
Uptime is now an array, styled in
src/components/Main/components/TableColArray.js in service instance list view and
src/components/Main/scenes/Instance/components/ArrayValue.js in readout items and app header


Optimize Alembic export

Goal
To speed up the alembic export
Motivation
Having maya updating the view port for each frame makes the alembic export sometimes very slow even for light objects.

Related #86


1618 majority element pythoncode

Description
Added Python Code For Majority Element (Leetcode).
Fixes #1618
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[ ] My code follows the style guidelines(Clean Code) of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

@ravikr366 please review now.

@sonamgupta136 delete the file which is not a part of this PR

@sonamgupta136 add main function

@sonamgupta136 resolve merge conflict

@Amit366  #1618 please review now


Merging two magnitude files

How to merge two magnitude files?
I have Arabic and English embeddings files and I want to merge them into one to be able to measure the similarities.

No way to merge them, if you have them in .txt format you can manually merge (it's not super difficult to do that, just open them in any text editor and copy and paste). Then, once you have the merged .txt vector file you can just use the converter to convert that to .magnitude


Update examples.ahoy.yml

Example is missing version. This fixes that.

The ahoy example files for 2.x should all be updated now to v2. Copyright isn't going to be used.


Adding custom methods for LINQ queries (C#)

Proposed title of article
Adding custom methods for LINQ queries (C#)
Introduction paragraph (2-3 paragraphs):
By introducing extension methods to the IEnumerableT> interface, you may expand the set of methods available for LINQ queries. You may, for example, develop a custom aggregate method to compute a single value from a sequence of data in addition to the usual average and maximum procedures. You can also build a method that returns a new series of values and acts as a custom filter or a specialized data transform for a sequence of variables. Distinct, Skip, and Reverse are examples of such techniques.
You may apply your own methods to any enumerable collection when you extend the IEnumerableT> interface.  In this article, we shall deeply take a look at various custom methods that are used in LINQ queries in C#.
Key takeaways:

Adding a method that returns a sequence
Overloading an Aggregate Method to Accept Various Types
Adding an aggregate method

References:
N/A

Good afternoon and thank you for submitting your topic suggestion. @Joshuathuo
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

@Joshuathuo
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites. (beyond a basic explanation - it would be best to reference your favorite intro article and build upon it).
Please be sure to double check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


Tweak CI scripts a bit

This PR removes an additional (?) make std_spec clean call in bin/ci build task.

AFAIK it was added to have a "quick" fail when std spec fails (with current crystal), then run 'em again with crystal master, along with compiler specs.

This is necessary to ensure std_spec passes with the latest compiler release.

I think a comment in the script explaining the rationale wouldn't hurt then :)


Add Positive Integer Check for DAYS Argument

This PR introduces a validation check to ensure that the DAYS argument provided to the script is a positive integer. This prevents the script from running with invalid or unintended inputs that could lead to errors or undesired behavior during the cleanup process.

Thank you, @kukumber!


Update flights.py to run with python2 and python3

urllib2 is depreciated in python3.
Small edit to detect the calling version and import the relevant module.

Thanks for the pull request!
Has been merged.


Add tests

Is your feature request related to a problem? Please describe.
https://github.com/atsign-foundation/at_pico_w/security/code-scanning/1
Describe the solution you'd like
A suite of unit and functional tests that run on each PR and merge
Describe alternatives you've considered
End-2-end tests may also be used to complement unit and functional tests

unit tests were added with #37


Add a function to dump a Configuration / write a Configuration to yaml content

Sometimes useful for debugging purposes or saving / caching settings combined from multiple sources into a single place. confidence.io might be logical place to add some functions.

As soon as we manage to land #33, the 'origin' of keys could optionally be included in this output as comments, hoping the yaml lib will allow us to write comments, outputting something like the following perhaps?
namespace.foo:
  bar: 42  # from /etc/xdg/foo.yaml
  baz: 5  # from /home/user/.config/bar.yaml

Seems pyyaml doesn't support comments at all. Swapping out the yaml lib or manually writing yaml content isn't desirable probably...


fix: support key directive in model introspection schema gen

Description of changes
Today, a key directive in GraphQLV1 that uses a belongsTo FK will cause the model introspection schema to fail. This addresses that issue, by no longer removing the field hardcoded by 'id' but instead checking if it's the model pk.
Issue #, if available
N/A - ticket
Description of how you validated changes
Added unit tests which previously failed, added v2 test for comparison of behavior.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #628 (38c1c9c) into main (ee9ac44) will decrease coverage by 1.51%.
The diff coverage is 83.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #628      +/-   ##
==========================================
- Coverage   85.93%   84.43%   -1.51%
==========================================
  Files         152      152
  Lines        7489     6437    -1052
  Branches     1956     1384     -572
==========================================
- Hits         6436     5435    -1001
+ Misses        960      902      -58
- Partials       93      100       +7

Impacted Files
Coverage Δ

...rc/visitors/appsync-model-introspection-visitor.ts
95.65% <80.00%> (-3.07%)
:arrow_down:

...nc-modelgen-plugin/src/visitors/appsync-visitor.ts
94.61% <100.00%> (-1.70%)
:arrow_down:

... and 115 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create a city restaurants page

Steps to reproduce

Click on any destination in home page
Select restaurants

Actual behaviour
A map opens up with restaurants.
Expected behaviour

Don't show the map

Show a list view with restaurant items received from the API given below

Create UI like this:

Show restaurant name, cost for 2 & address at the bottom (just line in above image)

Show rating and votes at the top right corner

Open restaurant url on clicking the list item

Endpoint to use
api/get-all-restaurants/<lat>/<lon>
Response format
{
        "restaurant_id": "309629",
        "restaurant_name": "Kebab Xpress",
        "restaurant_url": "https://www.zomato.com/ncr/kebab-xpress-rohini-new-delhi?utm_source=api_basic_user&utm_medium=api&utm_campaign=v2.1",
        "restaurant_latitude": "28.7148332542",
        "restaurant_longitude": "77.1163436025",
        "avg_cost_2": 650,
        "currency": "Rs.",
        "restaurant_image": "https://b.zmtcdn.com/data/pictures/3/301653/94acf9aa98cc36f3349f626b71afb793.jpg",
        "aggregate_rating": "3.7",
        "votes": "678",
        "address": "118, 1st Floor, Unity Metro Mall, Rohini West Metro Station, Rohini, New Delhi"
    }

Would like to work on this.

I am getting Authentication error for above endpoint. Message : Value {"detail":"Authentication credentials were not provided."}

@prabhakar267 we are getting this error in restaurants API.

@syedjahangirpeeran It's working fine for me. You are not sending authentication token in the header.
For example:
https://github.com/project-travel-mate/Travel-Mate/blob/76ee8a059a82cbad04d587b410bee4f00ef3e465/Android/app/src/main/java/io/github/project_travel_mate/destinations/description/FinalCityInfoPresenter.java#L51


Missing CVE's

Is it the intent that all CVE's have a corresponding GHSA advisory (either under 'unreviewed' or under 'github-reviewed')?
There seem to be some missing, such as CVE-2018-8011, CVE-2020-11997, CVE-2021-28655, CVE-2022-24697 and CVE-2022-26779 . Anything I can do to help add them?

Hi @raboof!
Thanks for reaching out. We only have a corresponding GHSA advisory in cases where the advisory was originally written on GitHub.
However, as part of our mission to be the most information-complete database, we pull advisories from many sources beyond just GitHub-generated advisories so those are the ones without corresponding GHSAs.
If you'd like to see more CVEs with corresponding GHSAs, we'd be happy to have your advocacy in the community for more maintainers to adopt this feature! :)
Cheers and thanks again!

as part of our mission to be the most information-complete database, we pull advisories from many sources beyond just GitHub-generated advisories so those are the ones without corresponding GHSAs.

Right, so that usually pulls CVEs from NVD (like https://github.com/github/advisory-database/blob/main/advisories/unreviewed/2023/03/GHSA-2c9m-w27f-53rm/GHSA-2c9m-w27f-53rm.json).
The CVE's mentioned above are in the NVD but are not included in the advisory-database here. Do we need to change anything to the CVE's to allow them to be pulled, or was it just some hiccup?

Hey @raboof! Sorry I misunderstood what you were asking the first time there.
Looks like we may have a bug in our system regarding some of these. We're investigating and will get back to you!

Looks like we may have a bug in our system regarding some of these. We're investigating and will get back to you!

Thanks - LMK if there's anything I could improve on the CVE/NVD side!


Isolate javascript from index.html

Using javascript in the html itself is not a good idea as the Firebase API keys are visible to the public.
So we should isolate these two.

Won't be possible to separate these two as we are using HTML form


Windows 10 Insider Preview 21292.1000 (rs_prerelease) Successfully installed on 1/16/2021

Describe the bug
Opening Microsoft Solitaire  locks up os on computer that only can be cleared by cycling power on computer and never opening Microsoft Solitaire again.
To Reproduce
Steps to reproduce the behavior:

Power on computer and logon.
Click on 'Microsoft Solitaire'
Can't close app, or do anything on the computer except power cycling and wait for it to come back up.
NEVER EVER CLICK ON MICROSOFT SOLITAIRE AGAIN.

Expected behavior
I expected the microsoft solitaire to actually work and not bring my computer to its knee's
Screenshots
Not going to do it again because it makes you power cycle the computer
Desktop (please complete the following information):

OS: Windows 10 Insider Preview 21292.1000 (rs_prerelease) Successfully installed on 1/16/2021
does not matter
does not matter

Smartphone (please complete the following information):

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

Additional context
Add any other context about the problem here.
Makes me never upgrade my pc again, or move to a linux base os

@jeland I think the best place to give Windows Insider preview feedback is on their system here https://aka.ms/WIPFeedbackHub/
The docs folks don't have a good way to send it over to them. Thanks for your understand. #please-close

@jeland I think the best place to give Windows Insider preview feedback is on their system here https://aka.ms/WIPFeedbackHub/
The docs folks don't have a good way to send it over to them. Thanks for your understand. #please-close


Fixes #228 Add support for providing string timeout values

Support for human-friendly timeout values in string format has been added. A function has been added in utils.py which parses the timeout value which can be given as 20s or 10m etc. --timeout option now
takes integer or string as a string and it is converted to seconds accordingly.

thanks a lot!


chore(governance): allow batch proposals

Related issues 🔗
Closes #5890
Description ℹ

Unwrap proposal transaction to allow for batch proposals

error message is not visible


Encode is not thread safe

Shallow copy is not enough when doing encode. See that here: https://github.com/vedhavyas/cuckoo-filter/blob/master/cuckoo.go#L419 bucket array is only shallow copied. This means if we start encoding and do some delete keys concurrently we might have inconsistencies.

Apologies for late reply. Should be fixed with the above PR and make a release after.


atom is using tabs instead of spaces

i have installed 1.26.0-beta0 on my mint and the application is using tabs instead of spaces for indentations.
and i have checked the  soft tabs in the settings.

Thank you for contributing!
We require the issue template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests. Please open a new issue and fill out the template for us.
Thanks for understanding and meeting us half way :grinning:


[FLINK-26157] Containers Should Not Run As Root

creating non-privileged user flink:flink
set the default user to flink

CC @wangyang0918 @gyfora @tweise


Filter function in mutate returns true, but does not seem to invalidate cache (using useSWRInfinite)

Bug report
Description / Observed Behavior
I am using useSWRInfinite with getKey, which returns an array. When using the global mutate from useSWRConfig, I'm passing a function to perform a multiple mutate. This filter function checks if the key is an array and if the searched string is included.
However, the filter function returns true for the key that should be re-validated, but the API is not requested to get new data. So I'm having the issue that the UI is not updating, unless I reload the page.
I created a Code Sandbox: https://codesandbox.io/s/multiple-mutate-infiniteswr-okty3z
Expected Behavior
When updating multiple keys from useSWR, it works perfect (look at the Code Sandbox example), but when using useSWRInfinite it does not work.
I expect that the API function is called again to request new data after the mutate filter function returns true for the cache entry.
Repro Steps / Code Example
I have this issue in a bigger project, which I cannot post here. But I provided a small CodeSandbox, where the same issue occurs.
CodeSandbox Link
Additional Context
SWR version: 2.0.2 (basically every version after 2.0.0)

@siggy17
Yes, Mutate multiple item doesn't support useSWRInfinite, so you have to use mutate returned from useSWRInfintie to revalidate it. But the mutate doesn't accept a filter function.
We should document it and I'll consider a way to support it with useSWRInfinite. Thank you for your feedback!

@koba04 Thank you for your reply! Yes, documenting that would be absolutely useful. And also supporting "multiple mutate" with useSWRInfinite would be nice. The reason I stumbled upon this bug was that there was no built-in functionality for multiple mutate before, and we had our own hook for it (see below). After upgrading to 2.0.0 I replaced this custom hook with the filter function "multiple mutate" and then the errors occurred.

Custom hook: useMultipleMutate

import { useSWRConfig } from 'swr';
import { useCallback } from 'react';

export const useMultipleMutate = () => {
  const { cache, mutate } = useSWRConfig();
  const multipleMutate = useCallback(
    (cacheKey: string) => {
      const matcher = new RegExp(`^${cacheKey}`);
      if (!(cache instanceof Map)) {
        throw new Error('matchMutate requires the cache provider to be a Map instance');
      }

      const keys = [];

      for (const key of cache.keys()) {
        if (matcher.test(key)) {
          keys.push(key);
        }
      }

      const mutations = keys.map((key) => mutate(key));
      return Promise.all(mutations);
    },
    [cache, mutate],
  );

  return { multipleMutate };
};


GroupBy.getitem for single column case aligned with pandas

Hello @kozlov-alexey! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file sdc/datatypes/hpat_pandas_groupby_functions.py:

Line 417:121: E501 line too long (122 > 120 characters)
Line 447:121: E501 line too long (122 > 120 characters)

In the file sdc/datatypes/hpat_pandas_series_functions.py:

Line 5694:5: E303 too many blank lines (2)


babel-plugin-crocks

In the same vein as https://github.com/lodash/babel-plugin-lodash and https://github.com/megawac/babel-plugin-ramda, I have two questions:

has anyone done this?
mind if I do it?

This seems pretty succinct, should we close the issue? @evilsoft

@dalefrancis88 I got married and haven't had any time to even think about this! Works for me, unless @evilsoft wants to keep it open for someone else to take a crack at.

@evilsoft should we close this?

I'll close it, but IMO it (or something like it) should be done eventually


Add deta-space topic

Please confirm this pull request meets the following requirements:

[X] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[X] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[X] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Curating a new topic or collection

[X] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[X] My folder contains a *.png image (if applicable) and index.md
[X] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docs

Deta space apps are often open-source and published on github with the deta-space topic, so I thought that it should probably have a description

oops. i'll fix that in a minute.


BIG-3679 -- Slash and burn / drop libjudy

Corresponds to https://github.com/seomoz/simhash-cpp/pull/36
@neilmb @lindseyreno @arora-richa

Rebased, comments addressed. Will merge when it passes.


F8 Automate, Educate, Communicate - Planning Meeting

dework integration
marketing bounties
workshops
ATH launch
Catalyst School integration - website migration
reach out to gimbalabs

Gimbals could be used as bounty rewards, adding weight to good work, or addition to already offered ADA.
Gimbalabs Tokenomics and Data Transparency group are working towards a consensus to make experiments cost-effective.
Fancy a change of name for this task?
F8 Communicate, Atomate, Educate - Planning Meeting
Starting any process with communication first looks like a safe play.

Think we should def experiment with Gimbals in this project if we can. I'm pretty sure we can change the name as this was the name for the Proposal. The name for the Project currently is Catalyst Training and Automation. So for this task we can use
F8 Communicate, Automate, Educate - Planning Meeting like you suggested @whitevo

Andre and me agree to use the name "Catalyst Training and Automation" for our project meetings

Notes on Strategy
This meeting would discuss the basis of a general strategy for the  Catalyst Training and Automation community project.
Examples

Who does what
How are people rewarded


Hybrid search implementation(Pr after rebasing sqlserver_vectorstore changes)

Why make this change?
This PR contains implementation for hybrid search.
Why is hybrid search needed?
Hybrid search enhances user customization by allowing the use of specific metadata filters during similarity searches. Users can get results filtered out as per the filter requests sent.
What Filters are supported?
The vectorstore supports a set of filters that can be applied against the metadata fields of the documents.
$eq | Equality (==)
$ne | Inequality (!=)
$lt | Less than (<)
$lte | Less than or equal (<=)
$gt | Greater than (>)
$gte | Greater than or equal (>=)
$in | Special Cased (in)
$nin | Special Cased (not in)
$between | Special Cased (between)
$like | Text (like)
$ilike | Text (case-insensitive like)
$and | Logical (and)
$or | Logical (or)
What are some sample filters?
filter={         "$and": [             {"id": {"$in": [1, 5, 2, 9]}},             {"location": {"$in": ["pond", "market"]}},         ]     }
filter={"id": {"$in": [1, 5, 2, 9]}, "location": {"$in": ["pond", "market"]}}
filter={"id": {"$in": [1, 5, 2, 9]}}
What is this change?
This PR contains the following implementations / changes:
def _create_filter_clause(self, filters: dict) -> None:
        """Convert LangChain IR filter representation to matching SQLAlchemy clauses.

        At the top level, we still don't know if we're working with a field
        or an operator for the keys. After we've determined that we can
        call the appropriate logic to handle filter creation.

        Args:
            filters: Dictionary of filters to apply to the query.

        Returns:
            SQLAlchemy clause to apply to the query.

This functions creates an SQLAlchemy filter cluase based on the filter input given. It also has a helper function.
def _handle_field_filter(
        self,
        field: str,
        value: Any,
    ) -> SQLColumnExpression:
        """Create a filter for a specific field.

        Args:
            field: name of field
            value: value to filter
                If provided as is then this will be an equality filter
                If provided as a dictionary then this will be a filter, the key
                will be the operator and the value will be the value to filter by

        Returns:
            sqlalchemy expression
        """

This helper function handles the field filter conversion, where you have a field and respective filter for that field.
How was this tested?
We have used the standard test cases provided in
C:\SQLTeamProjects\LangChainRepo\langchain\libs\community\tests\integration_tests\vectorstores\fixtures\filtering_test_cases.py  for testing purposes. These tests cover a wide range of filter choices as below:
1. equality checks
2. String field
3. Boolean fields
4. And semantics for top level filtering
5. equality checks and other operators like $ne, $gt, $gte, $lt, $lte, $not
6. gt, gte, lt, lte relying on lexicographical ordering
7. float column
8. AND and OR operators
9. special operators like $in, $nin, $between
10. special operators like $like, $ilike

Also, a few filters was used to check possible failure cases.

NB: These tests will be moved in a later PR to the integration test folder and proper unit tests will be created also.
Note
A small unit test fix for delete_api was merged into this PR. It is a one liner change, in line # 347 of test_sqlserver.py, where the delete api is called with None.

$in | Special Cased (in) $nin | Special Cased (not in)
What does Special cased mean here?

filter={"id": {"$in": [1, 5, 2, 9]}, "location": {"$in": ["pond", "market"]}}
Is this a standard format in which filters are expected in LangChain APIs?

    {"id": 1},

is the first element the filter and second the expected id? Would be helpful to mention it here in a comment for e.g.g

Refers to: libs/community/tests/integration_tests/vectorstores/fixtures/filtering_test_cases.py:54 in 9afb594. [](commit_id = 9afb594b8877f9da7c7040cb62b23783c17aed83, deletion_comment = False)

filter={"id": {"$in": [1, 5, 2, 9]}, "location": {"$in": ["pond", "market"]}}
Is this a standard format in which filters are expected in LangChain APIs?

Yes

filter={"id": {"$in": [1, 5, 2, 9]}, "location": {"$in": ["pond", "market"]}}
Is this a standard format in which filters are expected in LangChain APIs?

LangChain doesn't define a filter format for the APIs. It's left to the developer's implementation. In our case, we are using the same format that PG uses, which is what is specified here. We will need to add a sample in our documentation on how to specify filters.

offline discussion - there is no standard format, but most vector stores use filters in this format

In reply to:<PHONE_NUMBER>


youtube video removed need code to manual ffmpeg to webm format so it plays

Checklist

[ ] I'm asking a question
[ ] I've looked through the README and FAQ for similar questions
[ ] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
Hi
the video is removed and need the manual code to mux webm youtube video so it is fixed by ffmpeg, can someone pls share the youtube dl command i need to use to manually fix the file as the video are removed i cannot do it auymore the autmatic way
what is the command thank you

the video plays but has not sound, i need the command ffmpeg youtube dl call after download to fix this.

ffmpeg -i videofile -i audiofile -map 0:v -map 1:a -c copy merged.mkv should do it

hi

thank you have saved me the video on youtube was removed so i could redownload it perform this task, the first time i downloaded it i did not have ffmpeg in same folder, then when tried again youtube taken video down

keep the great work on youtube dl i love thank you
Sent: Friday, August 16, 2019 at 4:51 PM
From: "TemporaryUsername12481"<EMAIL_ADDRESS>To: ytdl-org/youtube-dl<EMAIL_ADDRESS>Cc: nopedd<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ytdl-org/youtube-dl] youtube video removed need code to manual ffmpeg to webm format so it plays (#22122)
ffmpeg -i videofile -i audiofile -map 0:v -map 1:a -c copy merged.mkv should do it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


V0.4.1

increase the version to fix the union bug.

This change is

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Make turtlebot3_navigation2 Apply Parameters

Navigation2 parameters given in e.g. /turtlebot3_navigation2/param/burger.yaml are not applied as a wrong argument (params instead of params_file) is used for nav2_bringup bringup_launch.py.
The params_file argument declaration of nav2_bringup bringup_launch.py is available here:
https://github.com/ros-planning/navigation2/blob/aa9394a6b57a23ede7add9cbba901ba1a21a26da/nav2_bringup/bringup/launch/bringup_launch.py#L39

Also, this will probably require configuration files in /turtlebot3_navigation2/param/ to be updated (I will try to edit them as well).

@lukicdarkoo Thank you for your contribution.
Our team is also working on the changes in Nav2, and together we can make this work earlier.

Sure! You can review the PR (it works fine in the simulation) and let me know how to improve it

@lukicdarkoo
The nav2 params have been modified for all three platforms.
Sorry that we didn't use your PR for this changes, but greatly appreciate for your contribution which was very helpful!
Please let us know if there's any other issues.


fix: Redis Scaler initialize the logger properly

Signed-off-by: Jorge Turrado<EMAIL_ADDRESS>Provide a description of what has been changed
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes https://github.com/kedacore/keda/issues/4197

/run-e2e redis*


Makefile:117: recipe for target 'install' failed make: *** [install] Error 1

Everything works fine except the last command, "make install"
BELOW ARE THE LAST LINES OF OUTPUT WHEN I RUN THIS COMMAND:
`Install the project...
-- Install configuration: ""
-- Installing: /usr/local/share/znc/webskins
CMake Error at cmake_install.cmake:41 (file):
file INSTALL cannot make directory "/usr/local/share/znc/webskins": No such
file or directory
Makefile:117: recipe for target 'install' failed
make: *** [install] Error 1`

Thanks! sudo make install works.


Issue with promise

When i call this chain of promises it doesn't wait for 3 seconds

Okay i got it. There is additional window should be created :)


Destroying SimpleMDE instance

Hello,
I would like to know what's the best way to destroy an instance of SimpleMDE ?

Right now there isn't a way to destroy SimpleMDE. But this may be a good candidate for future functionality.

because SimpleMDE don't create "wrapper" arround his blocks, this is my "hacky" solution right now :
var parent = myTextAreaElement.parentElement;
var classes = ['editor-toolbar', 'CodeMirror', 'editor-preview-side' ,'editor-statusbar'];
for (var i in classes) {
    var toRemove = parent.querySelector('.' + classes[i])
    if (toRemove) {
        toRemove.remove();
    }
}
 myTextAreaElement.style.display = "";

If we could have a  or something, it would have been simpler :)

Yes, this is very much needed in a bigger app. Instances stick around when navigating pages within a React application, for example.

I can't use it because of lack of this functionality, great library, but without the destroy functionality not usable in more complex scenarios.

This is something I also have a problem with. A workaround is, of course, possible, but it also muddles my app's code. Does the issue's status as something set for v2.0 milestone mean you wouldn't currently accept a PR solving it?

@trwired no, it does not mean that. That's just an indication of when I plan to complete it barring no PR is submitted for it.


Cannot correctly parse elements with innerText and optional attributes

It is impossible to correctly parse elements that use innerText and optional attributes.
Take the example in the README:
<food>
  <details>
    <price currency="euro">5.95</price>
  </details>
</food>

class Price: XMLMappable {
    var nodeName: String!

    var currency: String!
    var actualPrice: Float!

    required init?(map: XMLMap) {}

    func mapping(map: XMLMap) {
        currency <- map.attributes["currency"]
        actualPrice <- map.innerText
    }
}

In this case, if the currency is optional so the input could include either <price currency="euro">5.95</price> or <price>5.95</price>, you cannot correctly parse the latter example.  This is because the collapseTextNodes functionality in XMLObjectParser moves the 5.95 value to the parent dictionary if there are no attributes on the node.   This leaves you with no reasonable way to parse both inputs with the same mapping object.

Closing this issue as stale. Feel free to reopen it if the suggested solution doesn't work.


Incorrect dependency group in Dependabot setting docs

What article on docs.github.com is affected?
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates#allow
What part(s) of the article would you like to see updated?
In the production dependency type, the docs mention 'Only dependencies in the "Product dependency group"', which I suspect should be the "Production dependency group" instead.

Pada tanggal Sel, 27 Jul 2021 05:49, welcome[bot] @.***>
menulis:

Thanks for opening this issue. A GitHub docs team member should be by to
give feedback soon. In the meantime, please check out the contributing
guidelines https://github.com/github/docs/blob/main/CONTRIBUTING.md.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/8575#issuecomment-887078347, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPHK7YUIM6BQCKM6QIVZWDTZXRAXANCNFSM5BBA4LZA
.


Uncaught TypeError: Cannot read property 'visible' of undefined

[Enter steps to reproduce below:]

Just press ctrl + shift + e to open settings anywhere on atom and this gets thrown.

Atom Version: 1.0.1
System: Windows 8.1
Thrown From: editor-background package, v1.0.1
Stack Trace
Uncaught TypeError: Cannot read property 'visible' of undefined
At C:\Users\Igor\.atom\packages\editor-background\lib\editor-background.coffee:989

TypeError: Cannot read property 'visible' of undefined
  at Object.module.exports.EditorBackground.toggle (C:\Users\Igor\.atom\packages\editor-background\lib\editor-background.coffee:989:22)
  at atom-workspace.atom.commands.add.editor-background:toggle (C:\Users\Igor\.atom\packages\editor-background\lib\editor-background.coffee:198:39)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Program Files\Atom 1.0.1\resources\app.asar\src\command-registry.js:241:29)
  at C:\Program Files\Atom 1.0.1\resources\app.asar\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Program Files\Atom 1.0.1\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Program Files\Atom 1.0.1\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Program Files\Atom 1.0.1\resources\app.asar\src\window-event-handler.js:177:20)

Commands
     -0:12.5.0 settings-view:uninstall-packages (atom-text-editor.editor.is-focused)
     -0:04.6.0 editor-background:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-seti-syntax.theme-seti-ui)

Config
{
  "core": {
    "themes": [
      "seti-ui",
      "seti-syntax"
    ]
  },
  "editor-background": {
    "box3d": {
      "shadowOpacity": 100,
      "depth": 2000
    },
    "image": {
      "backgroundSize": "100%",
      "manualBackgroundSize": "100%",
      "overlayColor": {
        "red": 0,
        "green": 0,
        "blue": 0,
        "alpha": 1
      },
      "opacity": 14
    },
    "other": {
      "transparentTabBar": false,
      "treeViewOpacity": 80
    },
    "text": {
      "blur": 0,
      "expand": 0,
      "opacity": 0
    },
    "video": {
      "youTubeURL": "https://www.youtube.com/watch?v=rpWrtXyEAN0",
      "endTime": "1000"
    },
    "blurRadius": 0
  }
}

Installed Packages
# User
color-picker, v2.0.9
editor-background, v1.0.1
language-groovy, v0.4.0
seti-syntax, v0.4.0
seti-ui, v0.7.1

# Dev
No dev packages

I think I figured out why this error is happening, at least for me! I installed it and tweaked the settings and nothing worked - I was disappointed and thought the plugin was broken. It's been probably an hour, but I opened up the sidebar revealing my project folders and tada! everything, even the editor window now works!

I have the same issue:
OS: GNU/Linux (Ubuntu 15.04)
Atom: 1.0.3
I have the same error using Image or Youtube.

Just found the reason why!
This error is raised when you have nuclide-file-tree installed. The two extensions are not compatible.

I have this problem and I don't have nuclide-file-tree.

Oh dear. After a few minutes, my theme switched of its own accord to Ugly™, and now the package works O.o I wonder what happened there

When I start Atom, the background doesn't kick in. Then after a few minutes, it pops up this error. If I wait a few more minutes and press the keybinding, it does work.
Sorry but as it is, it's not really usable :-/

yeah, I uninstalled and am using dark material theme.

I got this error after setting a youtube video and then trying to set it back to an image.  Toggling the treeview did make the error go away and the background image came back.

hmmm
i think that is because of other themes/plugins uses same resources
it is hard to guess which theme/plugin uses same resources in dom tree
every plugin/theme is working on the same body so there will be some conflicts
i cannot check all the plugins and try to tweak editor-background to work with them
editor-background change what you see and this is risky if you have other plugins and non standard themes that have a lot of weird things going on in the dom tree
try to disable some plugins and check what is in conflict

sorry, problem of "visible of undefined" shows up when you have no editor open, i must fix this
but previous message is also true

fixed in new version


Notification and Bell icon objects activity connected together

Description:

When clicking on the bell icon to silence the notification, the notification box on the left also starts to blink.
This behavior is unintended and causes confusion for users.

Actual Result:

Clicking on the bell icon changes its color as expected.
However, it also triggers a color change in the notification box on the left, causing it to blink

Expected Result:

Clicking on the bell icon should only change its color.
The notification box on the left should remain unchanged.

Steps to Produce the Bug:

Navigate to the home screen where the CalanderObject component is rendered.
Locate an event with an active notification (bell icon is not crossed out).
Click on the bell icon to silence the notification.

This is in on the bug-fixing branch in CalendarObjects.js


Bug: If you have some pages in your history and open a link to a post that does not exist, then the application incorrectly returns you back when the error dialog pops up (basically, it calls GoBack 4 times, even if you were already in the feed when opening the link)

Fixed by 1b784d2 commit


Maya: Move implementation to OpenPype

Brief description
Moved Maya implementation into OpenPype.
Changes

moved implementation from avalon to OpenPype
modified imports in current OpenPype code

Testing notes:

Everything should work as before in Maya

Task linked: OP-2545 maya


[BUG] [Matter1.4 TE#2] TC-OPSTATE-2.5 test failure with python script in step 2

Reproduction steps
For TC-OPSTATE-2.5, UI-python test seems not work right, and if I run test in Python inside docker mode, test failed quite early at step2.
Test commands and parameters are as follows (found from Matter_V_1_4_TestPlanVerification document in Python Script Command sheet):
python3 TC_OPSTATE_2_5.py --commissioning-method ble-wifi --wifi-ssid ORBI32 --wifi-passphrase slowballoon575 --discriminator 3840 --passcode 20202021 --storage-path admin_storage.json --PICS /var/tmp/ --int-arg PIXIT_ENDPOINT:1 PIXIT.WAITTIME.REBOOT:100 --paa-trust-store-path /credentials/development/paa-root-certs/
Bug prevalence
everytime
GitHub hash of the SDK that was being used
304df86c9300ecfdfb1e6424565867d9dc6ad359
Platform
freeRTOS, other
Platform Version(s)
No response
Anything else?
This issue was found during Matter 1.4 TE#2, see attached the test log
failed-TC-OPSTATE-2.5.log

Relevant stack trace:
[MatterTest] 08-16 09:53:41.640 INFO <<< [E:23629i S:977 M:114168724 (Ack:138563668)] (S) Msg TX to 1:0000000012344321 [CE33] [UDP:<IP_ADDRESS>:5540] --- Type 0001:01 (IM:StatusResponse) (B:42)
[MatterTest] 08-16 09:53:41.644 ERROR Exception occurred in test_TC_OPSTATE_2_5.
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/dist-packages/mobly/base_test.py", line 818, in exec_one_test
    test_method()
  File "/root/python_testing/scripts/sdk/matter_testing_support.py", line 1744, in async_runner
    return _async_runner(body, self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/python_testing/scripts/sdk/matter_testing_support.py", line 1732, in _async_runner
    return asyncio.run(runner_with_timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
  File "/root/python_testing/scripts/sdk/TC_OPSTATE_2_5.py", line 57, in test_TC_OPSTATE_2_5
    await self.TEST_TC_OPSTATE_BASE_2_5(endpoint=endpoint)
  File "/root/python_testing/scripts/sdk/TC_OpstateCommon.py", line 1046, in TEST_TC_OPSTATE_BASE_2_5
    await events_callback.start(self.default_controller,
  File "/root/python_testing/scripts/sdk/TC_OpstateCommon.py", line 63, in start
    self._subscription = await dev_ctrl.ReadEvent(node_id,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/chip/ChipDeviceCtrl.py", line 1680, in ReadEvent
    res = await self.Read(nodeid=nodeid, events=events, eventNumberFilter=eventNumberFilter,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/chip/ChipDeviceCtrl.py", line 1534, in Read
    return await future
           ^^^^^^^^^^^^
chip.exceptions.ChipStackError: IM Error 0x00000580: General error: 0x80 (INVALID_ACTION)
[MatterTest] 08-16 09:53:41.660 ERROR Exception happened when executing on_fail for test_TC_OPSTATE_2_5.
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/dist-packages/mobly/base_test.py", line 665, in _exec_procedure_func
    func(copy.deepcopy(tr_record))
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 162, in deepcopy
    y = _reconstruct(x, memo, *rv)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 259, in _reconstruct
    state = deepcopy(state, memo)
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 136, in deepcopy
    y = copier(x, memo)
        ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 221, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
                             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 143, in deepcopy
    y = copier(memo)
        ^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/mobly/records.py", line 290, in __deepcopy__
    exception = copy.deepcopy(self.exception)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 162, in deepcopy
    y = _reconstruct(x, memo, *rv)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 253, in _reconstruct
    y = func(*args)
        ^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 252, in <genexpr>
    args = (deepcopy(arg, memo) for arg in args)
            ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/copy.py", line 151, in deepcopy
    rv = reductor(4)
         ^^^^^^^^^^^
ValueError: ctypes objects containing pointers cannot be pickled

@OliverFan1 Looks like this issue on your product side. Could you verify from your side ?

Hi @cjandhyala, I'm not sure this issue is on my dut side.
I did more tests and found that one more parameter needs to be added to test parameters: "endpoint": "1" to pass step 2.
However after that, further test still failed at:
File "/root/python_testing/scripts/sdk/TC_OpstateCommon.py", line 1105, in TEST_TC_OPSTATE_BASE_2_5
    asserts.assert_less_equal(initial_countdown_time, event_data.totalOperationalTime,
File "/usr/local/lib/python3.12/dist-packages/mobly/asserts.py", line 198, in assert_less_equal
    _call_unittest_assertion(
  File "/usr/local/lib/python3.12/dist-packages/mobly/asserts.py", line 50, in _call_unittest_assertion
    raise signals.TestFailure(my_msg, extras=extras)
mobly.signals.TestFailure: Details=30 not less than or equal to 0 The total operation time shall be at least 30.0, Extras=None

While in the same log, script already got a subscription report in which totalOperationalTime=30 (line 1677)
I also did step by step manual test according to the Verification Steps Document and test passed.
Find attached the new UI-Python failure log and my manual test passed log.
manual-test-pass-OPSTATE-2_5_0904.log
still-failed-UI_Python-OPSTATE-2_5_0904.log
Thanks


How to reconnect/reload (media) in same session after Network lost!

Hi
Thanks for this helpful sample. I am building an online radio streaming app.
Very similar to the sample
UAMP: Kotlin version
Android Version: Pie
Device: Pixel 1
I wanted to know how the MediaSession can handle exceptions in the following cases?
(currently it does nothing)

When there is no internet connection and a client tries to onLoadChildren?
Right now it returns null, so no items.
But how to reload onLoadChildren when internet connection resumes.

After Catalog loaded, internet goes away while playing?
Right now Playback goes to error state and does not return
How to come back to normal state when internet connection resumes.

Thanks for your help!

I solved the first problem by calling
public void notifyChildrenChanged(@NonNull String parentId)

Calling this notifies all connected media browsers that the children of the specified parent id have changed in some way.
After this onLoadChildren() will be called.

@YuriPopiv Hi Yuri, do you happen to have a committed example of this in action? Or could you perhaps point me to a working example? I'm currently trying to refresh custom JSON content using a wrapper activity and would like a way to resubscribe to the Music service. Any help you could provide would be much appreciated. Thank you.

@ponder-bar First you need update catalog in the  JsonSource object with media content.
Then, for example, add a method to MediaSessionConnection
fun resubscribe(){             mediaBrowser.unsubscribe(parentId, callback)             //could be new parentId, in my case it is the same             mediaBrowser.subscribe(parentId, callback)     }
after this onLoadChildren(             parentMediaId: String,             result: androidx.media.MediaBrowserServiceCompat.Result<List<MediaItem>>) method in your MusicService will be triggered and result.sendResult(children) will be called with new content

@YuriPopiv Thank you, this is a definitely a help, though as a Kotlin beginner I am wondering where I would theoretically call this resub function. Thanks again.

@ponder-bar  I am facing same thing , Have you done it ??


Explorer bug

When there are a lot of files in a folder, it overflows the explorer window

Normally fixed with last commits


Dispatcher flush rules - doesn't manage multiple occurrence of the same path

Required Information

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: AEM 6.4.2
[ ] ACS AEM Commons Version: ACS-AEM-Commons 4.0.0
[ ] Reproducible on Latest? yes

Expected Behavior
By configuring the "ACS AEM Commons - Dispatcher Flush Rules" service with the following values:
-/content/we-retail/ca/en=/content/we-retail/ca/fr
-/content/we-retail/ca/en=/content/we-retail/us/es
-/content/we-retail/us/en=/content/we-retail/us/es
the expected behaviour is that after publishing the page /content/we-retails/ca/en also the paths:

/content/we-retail/ca/fr
/content/we-retail/us/es

are flushed.
Actual Behavior
Inside the actual version after configuring the ACS AEM Commons - Dispatcher Flush Rules service as described above, only one of all the paths that need to be flushed after the replication of the /content/we-retail/ca/en page, is correctly flushed
Steps to Reproduce
You can reproduce the issue with the following steps:

Configure the ACS AEM Commons - Dispatcher Flush Rules configuration with 2 occurrence of the same path in order to flush 2 different paths (e.g. as the attached image)
Replicate the path which need to trigger the flush of the other
Check the flush agent into the publish instance (e.g. as the attached image)

Links
Links to related assets, e.g. content packages containing test components

Hm, can you try with this configuration:
-/content/we-retail/ca/en=/content/we-retail/ca/fr&/content/we-retail/us/es
-/content/we-retail/us/en=/content/we-retail/us/es


Extracting single representation from predictions

I would like to extract single representation from AlphaFold prediction. I tried to use masked_msa (not sure if it the correct field) from result_model_1.pkl .  I think what I should get is something like number of residues x 384 from reading the paper. I got a totally different dimensions.

Hi, you can use this repo, developed by me, to produce single representations : )

I have the same qeustion. Can we extract features without using the MSA block?


Support encrypted responses in deferred endpoint

Based on discussion under OpenID4VCI issue https://github.com/openid/OpenID4VCI/issues/286 encrypted responses for deferred issuance requests must be supported the following way:

If initial issuance request (batch or single) had a deferred response (transaction_id instead of the credential itself) wallet must remember the response encryption information specified in the initial request
When accesing the deferred endpoint with the transaction_id returned by the issuer, wallet must expect that the response should be encrypted based on the encryption information kept from step 1.

@vafeini please rebase with main


Set order number in order details upon converting a cancelled order

When converting a cancelled order to a normal order, the newly determined order number is currently not set in the order details. This behaviour diverges from the order creation during the checkout process. This PR fixes this behaviour by setting the new order number in all order details too.
This PR does not introduce any breaking changes.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-16344.
Please use this issue to track the state of your pull request.

Merged with 1a24aef2fd0b3d3bfdf7063581238c9bc8884c33. Thanks!


Canceling peekVar, putVar, takeVar

peekVar, putVar and takeVar are not canceling their consumer function when the containing Aff computation gets cancelled. This caused severe memory leaks in an application I am building at least in versions < 4 (not tested in 4). I have no fix as it is not obvious to me as to how this cancelation should take place in the current v3 codebase. Is this an oversight or intended behaviour?

Would be good to test in 4 since 4 is a total rewrite and may fix this issue.

Are you open to the idea of maintaining v3 for a little longer? I've got a patch ready for this I am about to submit a PR for.

In case you are, could you create a branch "v3" (or similar) on this repo that I can use as the target of my PR?

Yes, this issue was previously noted #91 and fixed in v4.

Another option is to just write some simple v3 bindings to purescript-avar for the time being.

@natefaubion with (very recent) releases to nearly all libraries that I depend on, I am happy to move on to v4, so we can close this.


add support for full-duplex comms with MOS

enables flow control if a GP command is received with value 2

the nature of how this has been implemented has a very small likelihood of causing an issue in the unlikely event that an application happens to be running on a version of MOS that is not set up for full-duplex comms, and sends a VDU 23, 0, &80, 2.  if that happens then the VDP will change its comms setup, and then get stuck.
this is arguably an unlikely scenario - a program should never have a need to perform a "general poll" command, but it is not impossible.
a potential solution to this is to require that a test/feature flag gets set instead of using this general-poll mechanism.  I may well change this to use that solution

feature-flag based solution used
this PR therefore also changes "test flag" into "feature flag".


Load call stack for all threads

Hi, thanks for the amazing plugin!
When I debug a multithread application I can see call stack only for the currently stopped thread.
nvim-dap has an option auto_continue_if_many_stopped which if I understand it correctly controls whether all threads should be paused on a breakpoint or only the current one. So if I put this option to false it would be useful to see a call stack for all threads.
Maybe if it is complicated to detect it from nvim-dap automatically there could be an option whether to load a stack for all threads or not.

I'm not entirely sure about it but I thinks this feature was actually working in the past or that it's already implemented but not enabled by default. I remember seeing this working like half a year ago but right now I'm also struggling with the same issue. According to  https://github.com/mfussenegger/nvim-dap/discussions/284#discussioncomment-1247498 this feature was already there back in 2021.

I just bisected this and I can confirm it's a regression most likely caused by https://github.com/rcarriga/nvim-dap-ui/commit/a62e86b124a94ad1f34a3f936ea146d00aa096d1 :
a62e86b124a94ad1f34a3f936ea146d00aa096d1 is the first bad commit
commit a62e86b124a94ad1f34a3f936ea146d00aa096d1
Author: Rónán Carrigan<EMAIL_ADDRESS>Date:   Sat Jan 20 15:46:04 2024 +0000

    fix(frames): use session's frames

    See #303
    Closes #307

    Co-authored-by: przepompownia<EMAIL_ADDRESS>
 lua/dapui/client/init.lua       | 2 ++
 lua/dapui/components/frames.lua | 9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

Hey @kuznetsss,
if you need this functionality right now, you can easily rollback to last good commit https://github.com/rcarriga/nvim-dap-ui/commit/0b4816e5ad5f3219e8e3ec9cce07f61b770c1974 via your plugin manager. I can confirm said commit works fine on my side (screenshot below for proof). Though, it might be a bit slow if you're debugging something huge. Perhaps, it would be nice to have a toggle option for this feature.
Hey @rcarriga, @przepompownia,
Tagging since this might be trivial for you to fix with the info I just provided.

Do you mean the whole repro that work automatically, for example similar to https://github.com/przepompownia/nvim-dap-ui-current-frame-bug (at the moment not minimal relative to the original problem)?

I mean I could provide a simple C++ or Rust code and instructions how to compile and run debug on it. Self starting repro looks a bit complicated for me, but maybe still possible.

@przepompownia,
The function from frames.lua runs for each thread and since you've changed how frames are being fetched this is most likely what broke it.
I think, it will be faster if I'll just try to fix it instead of wasting time on providing repro.
Gonna give it a try in a moment.

Ok, I just got this working with the patch below. Still testing it though.
Does the DAB Stacks window looks right to you? @przepompownia
I'm worrying that I might cause https://github.com/rcarriga/nvim-dap-ui/pull/307 to reoccur with the patch.
I'm also worried that both threads have name main (but this might be an issue with debug adapter)

diff --git a/lua/dapui/components/frames.lua b/lua/dapui/components/frames.lua
index 723d8ec..c6f6d8c 100644
--- a/lua/dapui/components/frames.lua
+++ b/lua/dapui/components/frames.lua
@@ -12,9 +12,11 @@ return function(client, send_ready)
     ---@async
     ---@param canvas dapui.Canvas
     render = function(canvas, thread_id, show_subtle, indent)
-      if not client.session then
+      local success, response = pcall(client.request.stackTrace, { threadId = thread_id })
+      if not success then
         return
       end
+      assert(client.session)

       local current_frame_id = nil

@@ -24,10 +26,11 @@ return function(client, send_ready)
         return
       end

-      local frames = threads[thread_id].frames
-      if not frames then
-        return
-      end
+      local frames =
+        false
+        or threads[thread_id].frames
+        or response.stackFrames
+      assert(frames)

       if not show_subtle then
         frames = vim.tbl_filter(function(frame)

Works fine on my side but I changed the patch a little bit: https://github.com/rcarriga/nvim-dap-ui/pull/395
@kuznetsss Could you check if this works on your side?

@sleeptightAnsiC, thanks for the fix! I can confirm it works with lldb-vscode.

I mean I could provide a simple C++ or Rust code and instructions how to compile and run debug on it. Self starting repro looks a bit complicated for me, but maybe still possible.

On the other side I'd need some time to learn basics of debugging code in those languages. Finally, nice to see that you propose some working patch. It doesn't break the fix from a62e86b1 for me, at least in the scope I see on the PHP example.
@sleeptightAnsiC could you check on #395 if highlighting the current frame still works after switching between threads?

@przepompownia Seems fine on my end, unless I'm missing something. Take a look:
https://github.com/user-attachments/assets/60961e84-81a5-4af3-86fa-1b0073bf8959

@przepompownia Seems fine on my end, unless I'm missing something. Take a look:
2024-08-30_13-18-00.mp4

Both threads look highlighted (only by horizontal arrow for your colortheme): thanks for checking and the screencaast.


Integration test for user deleting account

Codecov Report

Merging #2891 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2891   +/-   ##
=======================================
  Coverage   26.85%   26.85%
=======================================
  Files          89       89
  Lines       17607    17607
=======================================
  Hits         4728     4728
  Misses      12193    12193
  Partials      686      686

Continue to review full report at Codecov.

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

LGTM

LGTM


Calling SSL_set_SSL_CTX loses supported client TLS extensions

It's common to use SNI and call SSL_set_SSL_CTX with a new context once the host name has been negotiated, for example the nginx webserver does this (https://github.com/nginx/nginx/blob/f8a9d528df92c7634088e575e5c3d63a1d4ab8ea/src/http/ngx_http_request.c#L888)
Unfortunately SSL_set_SSL_CTX replaces the the certificate (ssl->cert, https://github.com/openssl/openssl/blob/7d152a3c4f58bc2c4e94946e2a8dbf1a855a52f2/ssl/ssl_lib.c#L3484), which also contains the client extensions from the ClientHello in ssl->cert->cli_ext. So when an extension later checks for client support, nothing is found (https://github.com/openssl/openssl/blob/7d152a3c4f58bc2c4e94946e2a8dbf1a855a52f2/ssl/t1_ext.c#L44).
This breaks things like the certificate transparency extension which needs to be negotiated after SNI (see https://github.com/grahamedgecombe/nginx-ct/issues/13 for an affected use case).

Just to clarify, this is for custom extensions only?

I believe so, unless any internal code also relies on custom_ext_parse.

I'd like to bump this issue, as I've just become aware that Google have announced that certificate transparency will be required as of October 2017 in order for certificates to be trusted in Chrome. Let's Encrypt for example does not currently support CT in their x509 certificates or OCSP responses, so the only way to deliver SCTs is to use a custom TLS extension, which is currently not functioning in OpenSSL 1.1.0.
A workaround has been posted at https://github.com/grahamedgecombe/nginx-ct/issues/13#issuecomment-270949197 - perhaps someone with more knowledge of the OpenSSL code could review this or refactor it into an official patch?

@mattcaswell can you look at this?

Fix in #3425

Fix in 2118188 for master, c645f9d for 1.1.0 and ea3fc60 for 1.0.2

Any plan to release 1.1.0 and 1.0.2 with this fix?

yes, there will be a release soon and it will include the fixes.


Create Unittests

This issue is way too broad to be helpful, and at this point in time I don't see how this can be closed.  It is impossible (or at least bound to a lot of effort for me) to re-create tests for all components – but, on the other hand, the current test base is quite decent, and is continuously enlarged when features are added.
Thus, closing.


block production took too long when uploading contract code

Uploading an ERC20 contract around 60kb will get dev node stuck, a workaround is to modify MILLISECS_PER_BLOCK to 10000 (i.e. 10s).
After the node stuck, pressing Ctrl+C will not work and I can only kill -9

2019-11-20 16:10:45 Idle (0 peers), best: #44 (0x5260…b828), finalized #43 (0xaaf4…4db7), ⬇ 0 ⬆ 0
^C2019-11-20 16:10:47 Prepared block for proposing at 45 [hash: 0x1e41b57813985ff22f36eefe69221e1882684452c28221d613218e202b82533b; parent_hash: 0x5260…b828; extrinsics: [0xfc8d…d9b3, 0xa081…f2f0, 0x686a…e65f]]
2019-11-20 16:10:47 Discarding proposal for slot 524744614; block production took too long
2019-11-20 16:10:47 Starting consensus session on top of parent 0x5260d71efd31a1b19f2d8d377c37c0756b17a0bcba9830a8864daccd75d3b828
2019-11-20 16:10:51 Prepared block for proposing at 45 [hash: 0x40fb8f9c7950b7692655e0f2a48d101b1d67f44cd5cb17e4fa70379025d391ce; parent_hash: 0x5260…b828; extrinsics: [0xec94…3310, 0xa081…f2f0, 0x686a…e65f]]
2019-11-20 16:10:51 Discarding proposal for slot 524744615; block production took too long
2019-11-20 16:10:51 Starting consensus session on top of parent 0x5260d71efd31a1b19f2d8d377c37c0756b17a0bcba9830a8864daccd75d3b828
[1]    22845 killed     ./target/release/substrate --dev

Maybe #1856 is kind of related

CC @pepyakin

Duplicate of #3885


python311Packages.requests-pkcs12: 1.21 -> 1.22

Diff: https://github.com/m-click/requests_pkcs12/compare/1.21...1.22
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 258087 run on x86_64-linux 1

10 packages built:

faraday-agent-dispatcher
faraday-agent-dispatcher.dist
python310Packages.pytenable
python310Packages.pytenable.dist
python310Packages.requests-pkcs12
python310Packages.requests-pkcs12.dist
python311Packages.pytenable
python311Packages.pytenable.dist
python311Packages.requests-pkcs12
python311Packages.requests-pkcs12.dist


Spike | Zip Files code and Understanding

Get all zip files from BSEE database
Get all columns for all files in each zip file
Understand data to feed to the analysis program.

Resolve below error:


Enable big query config in aks service

Trello card
Context
Changes proposed in this pull request
Guidance to review

 GIT: migrate to GCP WIF


about To3d

Hi, I really enjoy this project with Unity.I have try this part in my unity project and Python host.
However, I found that To3d is missing some parts (Ex: model) so that it can't run.
Could you kindly share this part of the code? Thank you!

Well，sorry about that，I will share the trained model file on Google Drive soon，and you can download it and run the project. By the way，the project is collaborative with the other project AvatarGame_Unity in my GitHub repository. Then I will notice you in the answer.

Hi, I really enjoy this project with Unity.I have try this part in my unity project and Python host. However, I found that To3d is missing some parts (Ex: model) so that it can't run. Could you kindly share this part of the code? Thank you!

Well, here is the model wight link: https://drive.google.com/file/d/14snDA3S6Ry4ROrOBLmqPoXmCNoNnQQ_-/view?usp=sharing

Hello @09510,
I've been trying to run the server on Docker but ran into issues. Were you able to install the server?

I develop this project in python, so you can deploy it on every env if you want.


An option in s3 destination to lower the case for columns

When using Data Integrations to move data from sql to S3 as parquet. Make an option to lower case the column names when uploading the parquet file.
I tried a transformer but it takes for ever with batches of 3m rows.

Any ideas on when this enhancement could go live?

maybe add support for json and gz. That should lower case column names

hey @PrincipalJohnShepherd i'll be working on this in the upcoming week


Add a make local target to plugin example makefile

This is helpful when running the plugin example with a local version of the velero server in any non-*nix environment.

shouldn't this issue go in the example repo?

I just realized that but also not sure it'd be trackable.

Tracking here: https://github.com/heptio/velero-plugin-example/issues/19


Add option for deleting objects when deleting database

When deleting a database, just removing the file may put existing objects in an unstable limbo.  Referencing properties or relationships while in this state can cause a crash.
This addresses the problem by deleting all object prior to removing the file.  This should be reasonable performant because it is using batch delete.
The apple docs suggest that batch deletes should manually merge changes into the context.  This approach led to a similar crash that prompted this change in the first place.  I think that saving the context and then calling reset performs a similar effect, without the crash.

This is an experiment.  Meant to draft PR this, not make it a real one.


Prompt user for more input

Description
Profile questions

Name
GitHub account name
About me

Project questions

Project name
Project description
Programming Languages
Project link

Nice job, added more user input


Implemented release notes in XML, JSON, and Protobuf

See #87

TODO: Add doc enhancement for attachment text to describe proactive controls

TODO: Add support for Properties to release notes

@coderpatros both recommendations have been implemented and include:

Add doc enhancement for attachment text to describe proactive controls
Add support for Properties to release notes

@DarthHater Can I get approval on this please?

@DarthHater Can I get approval on this please?


Custom eslint config

Please describe the feature
extend antfu's and add a few additional goodies. (e.g. ensure eslintignore is not needed anymore, etc.)

https://github.com/openwebstacks/eslint-config


factor dft code out of sarbp.cpp

Needed for CASPER implementation of the app. Harmless for default implementation.
commit e89c1c133615318718c6c0db1415cbf622e6adc0 (HEAD -> PR--factor-dft, origin/PR--factor-dft)
    dft: option to not mangle funcs

    Until CASPER compiler supports controlling the demangling
    feature of Halide when it invokes the generators.

commit a45652e9c0cdcffdad50888c4d01658f4a558098
    dft: factor further

    Needed to resolve some linking issues with the CASPER implementation of
    the app.

commit cdce62e6be2095274371d09c7ed539b70ed80f54
    factor DFT into separate file

    To be linked into the CASPER app, which does not include sarbp.cpp.

I think this is a lot cleaner now - thanks!


Project broke on new Xcode 10.2

Describe the bug
After upgrading on the new version of Xcode 10.2, the project doesn't compile with an error:
Error: module map file '/Users/_REDACTED_/Pods/Headers/Public/Stevia/SteviaLayout.modulemap' not found
Error: underlying Objective-C module 'Stevia' not found

If I'll delete pod and comment associated code then the project will successfully be compiled.
To Reproduce
Steps to reproduce the behavior:

Upgrade to Xcode 10.2
Try to build project
See error

Expected behavior
Successfully build projects
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Device: any
OS: OS X 10.14.4
Xcode Version 10.2
Swift Version 5
pod version 3.5.3

Installation Type

Cocoapods

@snowtema this will be fixed with the upcoming swift 5 version. thanks you for your patience :)

This is now solved in https://github.com/Yummypets/YPImagePicker/releases/tag/4.0.0

Thank you! 😊 🙏


Line no. issue for linking missing cases(Fragment identifier)

For link missing cases exact value with line no not coming in this version

Sorry, I don't understand what you mean.

Means while running epubchecker and if we got error like "Fragment identifier" it will not gives us an references(line no.) to find exact issues.

Unfortunately I cannot reproduce. Are you using version 4.0.1?
This is a missing fragment identifier in one of my epubs:
ERROR(RSC-012): my-ebook.epub/OEBPS/chapter2.xhtml(2,503): Fragment identifier is not defined.

There's a line number as well as a column number to locate the error.
Are you reffering to another error code?


[Bug]: 413 Payload Too Large on 1,873 KB file with theme CLI

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
File (assets/section-filters-native.min.js) should upload on save via shopify theme dev as it's only 1,873 kb
Actual behavior
413 Payload Too Large file. It works with this file sometimes but not other times. Larger files work fine.
Verbose output
DEBUG PUT https://<censored>.myshopify.com/admin/api/unstable/themes/<censored>/assets.json with request_id: 55a00c08-e9b9-447c-9bd1-f688d81ecf22
  • 13:05:05 ERROR  » update assets/section-filters-native.min.js:
  413
Payload Too Large

Reproduction steps

run shopify theme dev
make edit to file
watch upload fail

Operating System
wsl-x64 (ubuntu)
Shopify CLI version (check your project's package.json if you're not sure)
3.53.0
Shell
zsh
Node version (run node -v if you're not sure)
20.9.0
What language and version are you using in your application?
No response

Same behavior when I try to just copy and paste the contents of the file into the theme editor and save. If I observe the network tab in Chrome dev tools, I can get the headers and whatnot. FWIW, the UI is broken here, too. "Save" button never recovers. Just spins forever without alerting me of an error. I only knew because I looked in dev tools.
Request URL:
https://online-store-web.shopifyapps.com/admin/online-store/admin/api/unversioned/graphql?operation=CheckThemeSnippets
Request Method:
POST
Status Code:
413 Payload Too Large
Remote Address:
<IP_ADDRESS>:443
Referrer Policy:
no-referrer

Request Headers
:authority:
online-store-web.shopifyapps.com
:method:
POST
:path:
/admin/online-store/admin/api/unversioned/graphql?operation=CheckThemeSnippets
:scheme:
https
Accept:
application/json
Accept-Encoding:
gzip, deflate, br
Accept-Language:
en-US,en;q=0.9
Authorization:
Bearer [redacted]
Content-Length:
1949396
Content-Type:
application/json
Origin:
https://online-store-web.shopifyapps.com
Sec-Fetch-Dest:
empty
Sec-Fetch-Mode:
cors
Sec-Fetch-Site:
same-origin
User-Agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1
X-Online-Store-Web:
1
X-Requested-With:
XMLHttpRequest

Response 413 Payload Too Large

This is now happening to the majority of my JS files uploaded to my theme assets directory. All less than 2 mb. These all worked yesterday.

+1, experiencing the same issue...

Same here

same here

👋 Thank you for reporting this issue, the team is currently looking into it.