[Error when testing the SBS guide to build in-meeting document signing]

When testing the SBS guide for Build in-meeting document signing app - Teams | Microsoft Learn, we have faced the following error:
We’ve implemented all the steps given in the guide and created the Meeting Signing app. After adding the Meeting Signing app to a Teams meeting, we are getting the following error:

Please look into the issue.

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

ID: 3a692774-83a3-eccd-a5c2-7a5f43207399
Version Independent ID: 3a692774-83a3-eccd-a5c2-7a5f43207399
Content: Build in-meeting document signing app - Teams
Content Source: msteams-platform/sbs-inmeeting-document-signing.yml
Service: msteams
GitHub Login: @surbhigupta
Microsoft Alias: surbhigupta

@v-vanv - Thanks for reporting your issue. We will test this and update you soon.

@Nivedipa-MSFT Could you please update on the issue?
Thanks.

@v-vanv, @v-ganr - We have tested Build in-meeting document signing app - Teams | Microsoft Learn sample and it was working fine at our end.
The error message you're encountering suggests a mismatch between the app resource defined in your app's manifest and the origin of the iframe. This is a common issue when the app's domain isn't correctly configured in the app manifest.

Could you please check the validDomains section in your app manifest. The validDomains section in your app manifest should include all the domains used in your app. This includes the domain where your app is hosted and any additional domains your app might interact with. For example, if your app is hosted at "https://myapp.com", then "myapp.com" should be listed in the validDomains section.

Could you pleasecCheck the websiteUrl, contentUrl, and websiteUrl properties: The websiteUrl, contentUrl, and websiteUrl properties in your app manifest should match the domain where your app is hosted. For example, if your app is hosted at "https://myapp.com", then these properties should be set to URLs that are based on "https://myapp.com".

Could you please check the iframe origin. The origin of the iframe where your app is loaded should match the domain where your app is hosted. You can check the iframe origin by inspecting the Teams web client using your browser's developer tools.

@v-vanv, @v-ganr - Have you verified the above checkpoints and tested again? Are you able to resolve the issue?

@Nivedipa-MSFT We tested but blocked with a tunnel error and while uploading got the below error. Please let me know when we can connect and fix in a call.

@v-ganr - Could you please share your console error or log files to investigate further?

@Nivedipa-MSFT - Please find the console error, when tested with localhost 44326.

And when tested with localhost 5000, we got the below error.

@v-ganr - Could you please try deleting the 'obj' folder in your project source code, reinstall all dependencies, and check if it's working for you or not?

@Nivedipa-MSFT - We made changes in the sample as suggested and didn't get the output.

Hello @v-ganr - We have fixed the sample and merged the PR as well.
Please do verify once again from your end.
Please share your valuable feedback for us: Microsoft Teams Developer Community Response Feedback

We are closing this issue for now, please feel free to reopen it, if required.

Hi @ChetanSharma-msft , @Mohammed-MSFT ,
Thanks for updating the sample.
We have tested the https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-inmeeting-document-signing SBS guide as per feedback when we cross checked the tunnel is requested to run in 44326(both ngrok & devtunnel) and launch settings is updated to 3978. Please confirm even the tunnel has to be run in 3978.

The below error is pop-up:

Please look into the issue.
Thanks.

Hello @v-ganr - Thanks for the information.
We will update the Readme file as well and raise another PR for it.


Network observer flickering

Added tests for multiple operations having network observers.
Fixes #335
I'm not 100% a fan of this implementation. This biggest change here is simply having tests in place that make sure that networkActivityIndicatorVisible doesn't get set multiple times unless it is a change in value.
Please feel free to give pointers on what I can do to improve this. I really appreciated seeing the way these tests were originally setup, nicely done. I'll add some questions in the code itself to get a better understanding.
I could reduce the number of methods or override a setter in the controller which manages changing networkActivityIndicatorVisible based on if it is a new value, but I'm not sure that provides any better readability.
@danthorpe mentioned in #335 that reducing the methods might make it harder to test. But considering the tests are just looking at starting/stopping operations and what is or isn't set on networkActivityIndicator I'm not sure I understand how it would make it harder to test. The public interface would be kept intact.
Again, any suggestions on how to improve this is appreciated and I can take a crack at making those changes.
--
As a side note it is a little unfortunate that addCompletionBlockToTestOperation doesn't actually add a completion block, it adds a DidFinishObserver. I wonder if changing the naming of that method / adding another method that does add a completion block would be helpful since we have the following a few times in these tests (which is pretty close to addCompletionBlockToTestOperation):
let expectation = expectationWithDescription("Test: \(#function)")
operation.addCompletionBlock {
    let after = dispatch_time(DISPATCH_TIME_NOW, Int64(1.5 * Double(NSEC_PER_SEC)))
    dispatch_after(after, Queue.Main.queue) {
        expectation.fulfill()
    }
}

Hi @ryanjm - sorry I'm not got back to you on this. Just been crazy busy at work before being away for WWDC. Will get to it over the weekend for sure!

No problem, I'm sure things are busy for you right now.

@ryanjm: Could you please take a look at #422, which was merged into the swift/2.2 branch? An additional test exhibited these issues in a new way, and a fix was checked in to help ensure robustness and further eliminate flickering cases.

All of that looks good to me. That additional test looks very robust and should handle a few additional edge cases.


Loki: Add a 1% code coverage degradation threshold

Filing this as a separate PR to get input on the level of degradation we should allow. I've gone for 1% per PR, which would easily work for most of the maintenance PRs, where this is the biggest issue. Opinions and comments welcome.

Looks good. I would suggest merging into #109 to fix checks there, so main is green afterwards

1% overall degradation is maybe too generous for larger PRs but it should only be a review aid rather than an absolute metric anyway


Tweens in a looping chain fire onStart only once

Version

Phaser Version: 3.80.1

Description
In a looping chain, tweens fire onStart only once.
Example Test Code
const onStart = function (tween, targets) {
  console.count(`onStart ${targets[0].name}`);
};

const onComplete = function (tween, targets) {
  console.count(`onComplete ${targets[0].name}`);
};

this.tweens.chain({
  loop: 1,
  onActive: function () {
    console.log('🔗 onActive Chain 🔗');
  },
  onLoop: function () {
    console.log('🔗 onLoop Chain 🔗');
  },
  tweens: [
    { targets: { name: 'A', value: 0 }, value: 1, onStart, onComplete },
    { targets: { name: 'B', value: 0 }, value: 1, onStart, onComplete },
    { targets: { name: 'C', value: 0 }, value: 1, onStart, onComplete },
  ],
});

🔗 onActive Chain 🔗
onStart A: 1
onComplete A: 1
onStart B: 1
onComplete B: 1
onStart C: 1
onComplete C: 1
🔗 onLoop Chain 🔗
onComplete A: 2
onComplete B: 2
onComplete C: 2

Each tween fires 1 onStart instead of 2.

Hi @samme. Thanks for submitting this issue. We have fixed this and pushed it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.


安装audio报错

pip install modelscope[audio] -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
报错：
File "", line 38, in finalize_options
AttributeError: 'dict' object has no attribute 'NUMPY_SETUP'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.

操作系统，modelscope，python版本提供一下


Make data service APIs more generic

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (353ad8c) 75.52% compared to head (4a25a33) 74.93%.
 Consider uploading reports for the commit 659847b to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   75.52%   74.93%   -0.59%
==========================================
  Files          20       20
  Lines         764      770       +6
  Branches       79       79
==========================================
  Hits          577      577
- Misses        134      140       +6
  Partials       53       53

Files
Coverage Δ

src/include/nuraft_mesg/common.hpp
50.00% <ø> (ø)

src/include/nuraft_mesg/mesg_state_mgr.hpp
100.00% <ø> (ø)

src/lib/manager_impl.hpp
50.00% <ø> (ø)

src/lib/manager_impl.cpp
75.86% <0.00%> (-2.32%)
:arrow_down:

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


Refactor [Explicit] [Terminal] [AI Stuff] [Error] handleTokenCount

[+] refactor(ai_stuff.go): simplify error logging and error formatting in various functions

Note: This fixes a bug related to error messages. Previously, the messages were not formatted correctly when "The system cannot find the file specified" error occurred.

Now it correctly
2024/02/15 17:57:30 ⚙ SYSTEM: Failed to read the file at large.png: open large.png: The system cannot find the file specified.


Using persistent Bitmap and Graphics in MouseInfoProvider.

Thanks for the PR, I have resolved this in another PR - https://github.com/martinchrzan/ColorPicker/pull/21


Query performance, v4 vs v5 vs v4->v5

Im seeing some really strange Query performance problems after updating to version 5:
The context is 1.5 million simple POCO objects "Item" in a collection.
The Item has a bool property "ShowInSys"
There is a related index _db.GetCollection().EnsureIndex(i => i.ShowInSys);
We query for items like this: _db.GetCollection().Find(i => i.ShowInSys)
This returns about 50 items (of the 1.5 million total)
When doing the above query in version 4.1.4 the query takes 68ms.
When upgrading an existing v4 database to v5 and doing the query it takes 68ms
When creating a new v5 database (and inserting the 1.5 mil items) the query takes 38000ms
Maybe im missing something here, but this makes no sense to me. Could someone shed some light on what is going on here?
Why in the world is a "fresh" v5 so much slower than an updated v4?
Edit: Running the same query "SELECT $ FROM Item where $.ShowIn= true" from LiteDb Studio exchibits the same problems when doing if on a upgraded v4->5 vs a clean v5 database.,

@PeterThornton4Ing Could you send me your datafiles? You can send them to me at<EMAIL_ADDRESS>

@PeterThornton4Ing Could you send me your datafiles? You can send them to me at<EMAIL_ADDRESS>
Will do :-)

There was a bug where indexes over bool fields were being created with an incorrect expression, so the query optimizer was not finding them. The fix for it is to open the affected datafile with the latest master of LiteDB, dropping all of the bool indexes and recreating them.
@PeterThornton4Ing Given that you have an unaffected version of your datafile, you may simply keep using them.

Excellent! Thank you very much.
Any ETA on a new release?

@PeterThornton4Ing It has been released.

@PeterThornton4Ing It has been released.

Excellent. I see the new build, but the NuGet package is still version 5.0.10 any ETA on an updated NuGet package?

@PeterThornton4Ing It should be out now.


Does not work correctly with a relative width

If the "width" option is set to e.g. "100%", the slider is displayed incorrectly if the window is resized. The scale size is updated to fit, but the slider itself is not, leading it to extend past the scale.
The attached screenshots illustrates the problem.
The first image shows the slider when the window hasn't been resized. The second one after. Notice that the slider extends past the last value of the slider.

A test file which illustrates the issue. When the window is resized the slider position stays the same, even though the scale is resized.
<html>
<head>
	<title>range test</title>
	<link rel="stylesheet" href="jquery.range.css">
	<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<body>
	<input class="single-slider" type="hidden" value="25"/>
	<script src="jquery.range.js"></script>
	<script type="text/javascript">
	$(document).ready(function(){
		$('.single-slider').jRange({
			from: 0,
			to: 100,
			width: '100%',
		});
	});
	</script>
</body>
</html>


Add ipympl to NERSC Jupyter environments to improve image viewing.

@heather999 Could you kindly add ipympl to the next round of NERSC Jupyter kernel builds? This will bring us some more advance options and support from lsst.afw.display than available through the basic matplotlib interface.
I suppose this only needs to added to the desc-stack build, but I would suggest adding it to both desc-stack and desc-python for simplicitly (for both maintainer and user).

This is now included in the newly released desc-stack and desc-python jupyter kernels.  Just out of curiosity, is this something DM might add to their conda environment in the future?

I will look into incorporating ipympl into the Notebook Aspect of the LSST Science Platform.  It can be part of my ticket https://jira.lsstcorp.org/browse/DM-19686 .


Introduce service locator interface

Codecov Report

Merging #50 (6e5b7de) into master (dce08bf) will increase coverage by 0.07%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   88.22%   88.29%   +0.07%
==========================================
  Files          40       40
  Lines         654      658       +4
  Branches       62       61       -1
==========================================
+ Hits          577      581       +4
- Misses         27       29       +2
+ Partials       50       48       -2

Impacted Files
Coverage Δ

packages/core/src/container/Container.ts
88.00% <83.33%> (+4.66%)
:arrow_up:

packages/core/src/container/ServiceLocator.ts
94.11% <91.66%> (-5.89%)
:arrow_down:

packages/react/src/hoc/withDependencies.tsx
81.25% <100.00%> (ø)

packages/react/src/hooks/useSelectScoped.ts
100.00% <100.00%> (ø)

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 dce08bf...6e5b7de. Read the comment docs.


Update AP results

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

Project coverage is 99.47%. Comparing base (f1749f7) to head (5e0c2e6).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
- Coverage   99.47%   99.47%   -0.01%
==========================================
  Files          86       86
  Lines        2115     2114       -1
  Branches      192      192
==========================================
- Hits         2104     2103       -1
  Misses         11       11

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


CTCP-2129: Country Dispatch Item Page

I suspect a lot of the service methods and associated models won't be needed. Should we just pull them in as and when we need them?


Fix for undefined method `*' for nil:NilClass

exception when using google geocoder.
Conflicts:
NEWS.md
Note: cherry-picked from 3.12.X branch

retest this, please


Possible issues with array reference detection in PHP 7.4

PHP 7.4 introduces reference reflection, which overall might provide a nicer mechanism for reference detection, but the RFC specifically makes mention of the "mutate array to detect if its a reference" approach that may cease to function correctly.  If I remember correctly, this is what phony does internally when rendering arrays.

I implemented support for the new ReflectionReference API in the exporter, and it actually had some nice side effects, like making array IDs persistent across exporter invocations (which is how objects already worked).
As I suspected, the deep equality logic does similar stuff to what the exporter was doing, like assigning IDs to arrays by setting a special array key. This could probably be replaced with logic that used ReflectionReference too, but I can't see any way that it could possibly be as performant as the current implementation, which continues to work just fine under PHP 7.4. I'm not inclined to change it just yet, for that reason.
@jmalloc The deep equality code was actually your contribution, I think. If I ever have to rewrite it to use the new reference reflection stuff I might have to get your input 😅


Master -> Live

Docs Build status updates of commit 3ec24dc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/community.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit bd357b3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/community.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Unable to push stats

I installed statsd python wrapper from here: https://pypi.python.org/pypi/statsd/2.1.2 and tried the following:
>>> import statsd
>>> c = statsd.StatsClient('localhost', 8125)
>>> c.incr('prashanth.test', 100)

In Grafana dashboard I tried to look for the metric but it wasn't showing up. I asked Docker to dump logs from the container and see this:
2014-05-01 12:30:04,083 CRIT Supervisor running as root (no user in config file)
2014-05-01 12:30:04,083 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2014-05-01 12:30:04,099 INFO RPC interface 'supervisor' initialized
2014-05-01 12:30:04,099 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2014-05-01 12:30:04,099 INFO supervisord started with pid 1
2014-05-01 12:30:05,101 INFO spawned: 'nginx' with pid 8
2014-05-01 12:30:05,102 INFO spawned: 'carbon-cache' with pid 9
2014-05-01 12:30:05,103 INFO spawned: 'elasticsearch' with pid 10
2014-05-01 12:30:05,104 INFO spawned: 'graphite-webapp' with pid 11
2014-05-01 12:30:05,105 INFO spawned: 'statsd' with pid 12
2014-05-01 12:30:05,310 INFO exited: carbon-cache (exit status 1; not expected)
2014-05-01 12:30:06,541 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-05-01 12:30:06,542 INFO spawned: 'carbon-cache' with pid 58
2014-05-01 12:30:06,542 INFO success: elasticsearch entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-05-01 12:30:06,542 INFO success: graphite-webapp entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-05-01 12:30:06,542 INFO success: statsd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-05-01 12:30:06,664 INFO exited: carbon-cache (exit status 1; not expected)
2014-05-01 12:30:09,191 INFO spawned: 'carbon-cache' with pid 100
2014-05-01 12:30:09,302 INFO exited: carbon-cache (exit status 1; not expected)
2014-05-01 12:30:13,195 INFO spawned: 'carbon-cache' with pid 133
2014-05-01 12:30:13,307 INFO exited: carbon-cache (exit status 1; not expected)
2014-05-01 12:30:14,308 INFO gave up: carbon-cache entered FATAL state, too many start retries too quickly

Here is what Docker reports for the "top" command
CONTAINER ID        IMAGE                        COMMAND                CREATED             STATUS              PORTS                                                                NAMES
a6659900b509        kamon/grafana_graphite:1.0   /usr/bin/supervisord   2 days ago          Up 26 minutes       <IP_ADDRESS>:81->80/tcp, <IP_ADDRESS>:8125->8125/udp, <IP_ADDRESS>:8126->8126/tcp   kamon-grafana-dashboard
prashanth@almatrix1:~$ sudo docker.io top a6659900b509
UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
root                13726               2007                0                   12:30               ?                   00:00:00            /usr/bin/python /usr/bin/supervisord
root                13771               13726               0                   12:30               ?                   00:00:00            nginx: master process /usr/sbin/nginx
sshd                13773               13726               0                   12:30               ?                   00:00:09            /usr/lib/jvm/java-7-openjdk-amd64//bin/java -Xms256m -Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.foreground=yes -Des.path.home=/usr/share/elasticsearch -cp :/usr/share/elasticsearch/lib/elasticsearch-1.1.1.jar:/usr/share/elasticsearch/lib/*:/usr/share/elasticsearch/lib/sigar/* -Des.default.config=/etc/elasticsearch/elasticsearch.yml -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=/etc/elasticsearch org.elasticsearch.bootstrap.Elasticsearch
root                13774               13726               0                   12:30               ?                   00:00:00            /usr/bin/python /usr/bin/gunicorn_django -b<IP_ADDRESS>:8000 -w2 graphite/settings.py
root                13775               13726               0                   12:30               ?                   00:00:00            statsd /src/statsd/config.js
www-data            13776               13771               0                   12:30               ?                   00:00:00            nginx: worker process
root                13816               13774               0                   12:30               ?                   00:00:00            /usr/bin/python /usr/bin/gunicorn_django -b<IP_ADDRESS>:8000 -w2 graphite/settings.py
root                13817               13774               0                   12:30               ?                   00:00:00            /usr/bin/python /usr/bin/gunicorn_django -b<IP_ADDRESS>:8000 -w2 graphite/settings.py

Does this mean that the Carbon process did indeed fail to start? How can I fix this?

I'm having similar issue - in my case graphite-webapp fails to start with following error in supervisord.log
    2016-01-30 09:46:36,713 INFO exited: graphite-webapp (exit status 1; not expected)
    2016-01-30 09:46:40,300 INFO spawned: 'graphite-webapp' with pid 54
    2016-01-30 09:46:40,536 INFO exited: graphite-webapp (exit status 1; not expected)
    2016-01-30 09:46:40,599 INFO gave up: graphite-webapp entered FATAL state, too many start retries too quickly

And following errors in graphite-webapp.log
    `ImportError: Could not import settings 'graphite/settings.py' (Is it on sys.path?): Import by filename is not supported.
    2016-01-30 09:46:40 [59] [INFO] Worker exiting (pid: 59)
    2016-01-30 09:46:40 [60] [ERROR] Exception in worker process:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 473, in spawn_worker
        worker.init_process()
      File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 100, in init_process
        self.wsgi = self.app.wsgi()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/base.py", line 115, in wsgi
        self.callable = self.load()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/djangoapp.py", line 102, in load
        return mod.make_wsgi_application()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/django_wsgi.py", line 36, in make_wsgi_application
        if get_validation_errors(s):
      File "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py", line 28, in get_validation_errors
        from django.db import models, connection
      File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line 11, in <module>
        if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
      File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 52, in __getattr__
        self._setup(name)
      File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 47, in _setup
        self._wrapped = Settings(settings_module)
      File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, in __init__
        raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
    ImportError: Could not import settings 'graphite/settings.py' (Is it on sys.path?): Import by filename is not supported.
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 473, in spawn_worker
        worker.init_process()
      File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 100, in init_process
        self.wsgi = self.app.wsgi()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/base.py", line 115, in wsgi
        self.callable = self.load()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/djangoapp.py", line 102, in load
        return mod.make_wsgi_application()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/django_wsgi.py", line 36, in make_wsgi_application
        if get_validation_errors(s):
      File "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py", line 28, in get_validation_errors
        from django.db import models, connection
      File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line 11, in <module>
        if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
      File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 52, in __getattr__
        self._setup(name)
      File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 47, in _setup
        self._wrapped = Settings(settings_module)
      File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, in __init__
        raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
    ImportError: Could not import settings 'graphite/settings.py' (Is it on sys.path?): Import by filename is not supported.
    2016-01-30 09:46:40 [60] [INFO] Worker exiting (pid: 60)
    Traceback (most recent call last):
      File "/usr/bin/gunicorn_django", line 9, in <module>
        load_entry_point('gunicorn==17.5', 'console_scripts', 'gunicorn_django')()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/djangoapp.py", line 143, in run
        DjangoApplication("%(prog)s [OPTIONS] [SETTINGS_PATH]").run()
      File "/usr/lib/python2.7/dist-packages/gunicorn/app/base.py", line 144, in run
        Arbiter(self).run()
      File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 196, in run
        self.halt(reason=inst.reason, exit_status=inst.exit_status)
      File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 291, in halt
        self.stop()
      File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 334, in stop
        self.reap_workers()
      File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 430, in reap_workers
        raise HaltServer(reason, self.WORKER_BOOT_ERROR)
    gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

I was in the process of trying this. Attaching to an existing container seems less than straightforward on Docker. I am still trying to figure out. Thanks.

There is now a make shell command to easily get into the container.


[Enhancement] primary key table's version count should contains pending rowsets

Problem Summary:
Fixes #23846
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Remove unused private field device_position_

../../content/renderer/media/renderer_webaudiodevice_impl.h:94:25: error: private field 'device_position_' is not used
media::StreamPosition device_position_;
^

@pozdnyakov PTAL

FWIW, I think this can go directly into master so you get a smaller diff in next and also remove an unused parameter from M52 (even if you don't get the warning).

@rakuco, I have submitted this PR for master now. But wouldn't this create a seprate commit in master which we would have to squash anyway? Feels like additional overhead to me.

It's some overhead, but it's minimal; having it in master means it's test-built and reduces the delta between master and next, which is always a good thing. Given it takes at most a couple of minutes to squash this in next (if you really want to), I think it's an acceptable trade-off.

lgtm, by the way


Add filename to the results table output if specified?

First off, thank you for this great tool!
I've started to use it, and have a question - or maybe a potential feature request?
I have several CSS files that I'm analyzing, and currently I'm doing that by running the CLI for each file separately, ie (in my package.json):
"styles:analyze": "wallace dist/styles/index.css && wallace dist/styles/a.css && wallace dist/styles/b.css"

When I do this, it's not super clear to tell where in the output the results end for one file and begin for the other:

Is there a way to add a header of some sort to the results table? It would be really nice if when passing a file path to analyze, that path (or at least the filename) would be added to the table. Or perhaps a way to specify a custom header via a flag?
Any thoughts or suggestions on something like that?

Interesting points!
I don't necessarily think that it is a job for the CLI output to show the input path or filename, although we do know the path to the input file, so we could add it to the output. I'll think about it, because adding this brings it's own issues (show the full path, or just the filename? What if the path or filename is very long?)
Then you'd still want some spacing in between outputs, I think. I'm no bash expert, but I'd probably put a couple of echo "" in between to create that extra space.

Makes sense. Just thought I'd ask!
I think like you said I'll just have to rely on some bash commands to give it a bit more separation.
Thanks. Feel free to close this issue


Streaming performance test benchmark for C++

Create a streaming perf test for C++ analogous to what fling does in C

With sync and async variants
On Thu, Mar 5, 2015, 13:25 Vijay Pai<EMAIL_ADDRESS>wrote:

Create a streaming perf test for C++ analogous to what fling does in C
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/960.

Resolved by PR #1113


Unable to be used on Vercel edge functions.

- @nodelib: fs, path, stream, events
--
- @polymath-ai: fs
- axios: http, https, url, zlib
- dir-glob: path
- dotenv: fs, path, os
- fast-glob: path, stream, fs, os
- fill-range: util
- follow-redirects: url, http, https, stream, assert
- glob-parent: path, os
- globby: node:process, node:fs, node:path, node:url, node:stream
- gpt-3-encoder: fs, path
- merge2: stream
- micromatch: util
- path-type: util, fs
- picomatch: path

Not expecting this to be fixable given the node deps, but just for reference

It sounds like polymath client wants to be as slim and dependency-free as possible

It's all changing a lot too. Eg, deno supporting node compat, Vercel has bits like fs too: https://vercel.com/guides/how-can-i-use-files-in-serverless-functions


Cloud vetting

Michael,
With the increasing push to get apps in the Cloud, is there a possibility you could get this vetted for use in the Cloud?
Thanks in advance for your time and effort.
Best Regards,
Johann

I don't see why not. I'll get this worked out in the next release

In progress

Is this still being looked at? Would also be good to confirm operation with Splunk 7.2/7.3
Have manually installed on a local test/dev instance running Enterprise 7.3, so there should be minimal (if any) changes needed I would assume.

To add on to this, I requested to have this app installed on my cloud instance and have ran into a few issues.
The app is installed fine and I have sysmon data in splunk and have updated the macro.
However, none of the dashboards load, they all have the error "Search is waiting for input...".
When I copy the source xml and put it into a custom dashboard, they all load fine. Any thoughts on why this would happen only in the app?


feat: Configure Vercel envs.

Vercel is the tool to build deploys we will use
Test and Production environments
The goal of this issue is to provide both Test and Production environments with project deploys.
How should this be done?
By configuring these environments in Vercel app.

These can be reached out by accessing:
trustful-stellar.vercel.app
For testnet, please guarantee you are signed in into Vercel as<EMAIL_ADDRESS>then access:
dev-trustful-stellar.vercel.app


usb: netusb add CDC EEM usbnet function

This PR adds CDC Ethernet Emulation Model function driver (CDC EEM). This usb network
function can be used for ethernet over USB. Ethernet packet are encapsulated within EEM packets. An EEM pkt contains 2-byte header and 4-byte sentinel (or crc).
Contrary to CDC RNDIS and CDC ECM, this class requires only two endpoints (bulk in/out).

This is all of: marked "in progress", "1.11", adds a new feature, and in conflict state. 1.11 is in pre-release freeze now, so new features aren't accepted. Please let me change milestone to 1.12 then.

This PR needs to be reworked and mainly depends on PR #5983...

Codecov Report

Merging #5174 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5174      +/-   ##
==========================================
- Coverage   54.89%   54.89%   -0.01%
==========================================
  Files         449      449
  Lines       43378    43378
  Branches     8154     8154
==========================================
- Hits        23813    23812       -1
- Misses      16262    16263       +1
  Partials     3303     3303

Impacted Files
Coverage Δ

kernel/posix/pthread.c
69.5% <0%> (-0.5%)
:arrow_down:

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 e652b74...5245bcb. Read the comment docs.

@loicpoulain I know this function was merged two years ago. Do we have an introduction how to use EEM stack from both the host and device sides? It seems EEM is quite different from other two, and raw socket in zephyr doesn't work with it. It is appreciated if an introduction or detailed example is provided. Thank you!

@loicpoulain I know this function was merged two years ago. Do we have an introduction to how to use EEM stack from both the host and device sides?

There a lot of network samples that can be used with CONFIG_USB_DEVICE_NETWORK_EEM, however, I agree it would be nice to have a sample specifically configured with this function.

It seems EEM is quite different from other two,

No, it's quite similar to RNDIS or ECM.

and raw socket in zephyr doesn't work with it.

How did you test that? I've just tested echo-server sample with EEM on disco_l475_iot1 without any problem.

@loicpoulain I know this function was merged two years ago. Do we have an introduction to how to use EEM stack from both the host and device sides?

There a lot of network samples that can be used with CONFIG_USB_DEVICE_NETWORK_EEM, however, I agree it would be nice to have a sample specifically configured with this function.

It seems EEM is quite different from other two,

No, it's quite similar to RNDIS or ECM.

and raw socket in zephyr doesn't work with it.

How did you test that? I've just tested echo-server sample with EEM on disco_l475_iot1 without any problem.

I'm a bit confused by the design purpose of EEM. From the USB EEM protocol spec, it says "Unlike CDC ECM, EEM does not extend an interface across the USB bus but instead considers the USB bus to be a vehicle for moving Ethernet packets". So, what makes EEM different from other two? How can we use EEM to get that benefit?

I'm a bit confused by the design purpose of EEM. From the USB EEM protocol spec, it says "Unlike CDC ECM, EEM does not extend an interface across the USB bus but instead considers the USB bus to be a vehicle for moving Ethernet packets". So, what makes EEM different from other two? Compared with other usb network protocols, what benefit can we get by using this one?

Well ECM/RNDIS are normally used to drive a real network controller over USB (e.g. USB to ethernet adapter):
HOST(iface)===USB===>Ethernet-Controller===ETHERNET====>
EEM is just a simple protocol to do ethernet over USB:
HOST(iface)===USB===>(iface)DEVICE
Though in Zephyr ECM and RNDIS have been implemented to act as EEM and just offer a connection to Zephyr internal network stack (a virtual interface is created with mac address...).
EEM is a simpler protocol and only use two endpoints (instead of 3 for ECM and RNDIS), which can be useful on device with limited number of endpoints. It is also possible to send multiple ethernet packets in one USB transfer (instead of one ethernet packet per USB transfer) which in theory improves the maximum throughput.

Got it, thanks for the explanation!


Axios doesn't work with Android (emulator) raising a Network Error

I'n new with React Native, and I was playing around with components and http ajax request, and all went fine with iOs emulator, until I thought to test on Android emulator.
This is my Http class:
import 'url-search-params-polyfill';
import axios from 'axios';
import { AsyncStorage } from 'react-native';
import Rx from 'rxjs/Rx';

let _HttpServiceInstance = null;

class HttpService {

  constructor(envStr) {
    console.log('DEFAULT', axios.defaults);
    if(!_HttpServiceInstance){
      this.__proto__.ghtnk = null;
      axios.defaults.baseURL = this.getBaseUrlApi()[envStr || 'DEV'];
      axios.interceptors.response.use(
        (resp) => {
          let ghresp = resp.data || resp;
          ghresp.status = resp.data ? resp.data.status : resp.status;
          return ghresp;
        },
        (err) => {
          if( err.status === 401 ){
              this.removeToken();
              // go to login
          }
          return Promise.reject(err);
        }
      )
      _HttpServiceInstance = this;
    }
    return _HttpServiceInstance;
  }

  getBaseUrlApi = () => {
    return {
      DEV : 'https://dev-api.domainname.com/',
      TEST: 'https://test-api.domainname.com/',
      QA  : 'https://qa-api.domainname.com/',
      LIVE: 'https://api.domainname.com/',
    };
  }

  switchBaseUrlApi(envStr) {
    axios.defaults.baseURL = this.getBaseUrlApi()[envStr];
  }

  getToken = (callback) => {
      let promise = AsyncStorage.getItem('ghtkn');
      if( callback ){
        promise.then(callback, () => { console.log('getToken: ', err) });
      }
      else return promise;
  };

  setToken = (token) => {
    return AsyncStorage.setItem('ghtkn', token);
  };

  removeToken = () => {
    AsyncStorage.removeItem('ghtkn');
  };

  setAuthHeaders = (callback, noNeedToken) => {
    if ( noNeedToken ) {
      callback(); return;
    }
    this.getToken(
      (token) => {
        if (token) {
          axios.defaults.headers.common['Authorization'] = 'Bearer ' + token;
          callback();
        }
        else{ console.log('NO TOKEN PRESENT'); }
      },
      (err) => { console.log('GET TOKEN: ', err); },
    );
  };

  // GET
  get = (url) => {
    let subject = new Rx.Subject();
    this.setAuthHeaders((token) => {
      axios.get(url).then(
        (data) => { subject.next(data); },
        (err) => { console.log('GET: ', err); }
      );
    });
    return subject;
  };

  // POST
  post = (url, payload, noNeedToken) => {
    let subject = new Rx.Subject();
    this.setAuthHeaders(() => {
      axios.post( url, this.setParams(payload)).then(
        (resp) => { subject.next(resp); },
        (err) => {
          console.log('POST ERROR');
          console.log(err.request, Object.keys(err) );
          subject.error(err);
        }
      );
    }, noNeedToken);
    return subject;
  };

  // PUT
  put = (url, payload) => {
    let subject = new Rx.Subject();
    this.setAuthHeaders((token) => {
      axios.put( url, this.setParams(payload)).then(
        (resp) => { subject.next(resp); },
        (err) => { console.log('PUT: ', err); }
      );
    });
    return subject;
  };

  // LOGIN
  login = (user, pw) => {
    return this.post('user/authentication', {username: user, password: pw}, true)
               .do((resp) => { this.setToken(resp.token); })
  };

  setParams = (jsonParams) => {
    let params = new URLSearchParams();
    for(param in jsonParams){
      if( jsonParams.hasOwnProperty(param) ){
        params.append(param, jsonParams[param]);
      }
    }
    return params;
  };

}

export { HttpService };

This is the error I'm getting from the post request, using login() function I created using axios.post()

NOTE:

I'm using the latest version of Axios ^0.16.2

My AndroidManifest.xml contains:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

The APIs are under VPN, as I wrote all works fine with iOs emulator but doesn't with the Android one.

I am getting this error as well with Android in React Native. It works fine with iOS.

I am also getting this error with Android in React Native.

Is axios really not supported in Android? 😨

I solved mine by set
```
headers: {
Accept: 'application/json',
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
},

Same issue, does anyone solve it?

will work in iOS but will not work in Android. HTTPS doesn't support in android.

mark

can any one help https://stackoverflow.com/questions/46307932/network-error-in-axios-post-request-react-native please ?

@milon87  Really axios does not support HTTPS ?

Same Issue under different conditions.
Axios throwing Network Error, but only on iOS Simulator.
Works Fine on android (Tested on actual Device). Using AWS server with https not https.
Help Please

GET is not able to use body.
I think you should remove your data when using GET.
axios.interceptors.request.use((config) => {
  if (config.method !== 'get') {
    config.data = qs.stringify(config.data) // fix Rails i18n error
  }
  if (typeof config.params === 'undefined') {
    config.params = {}
  }
  return AppSettingService.getAppSetting()
    .then((appSetting) => {
      config.params.locale = appSetting.locale
      config.params.currency = appSetting.currency
      return ProfileService.getCurrentUser()
        .then((currentUser) => {
          if (currentUser) {
            config.headers.common.Authorization = currentUser.token
          }
          return config
        })
    })
})

I hava similar issues, but I fixed this Network Error with omiting data when using GET.

it seem like a "fetch problem" i had met on React Native specific for Android 7.0.
The reason for that is using self signed certificate

I am getting the same network error with a simple Get request
`var instance = axios.create({
baseURL: getEnvVars.apiHost,
timeout: 5000,
headers: {'x-api-key': getEnvVars.apiKey}
});
    return instance.get('/products?brand=' + params.brand)
        .then((response) => {
            console.log(response.data);
        })
        .catch((error) => {
            console.log(error);
        });`

`▼Network Error

node_modules/axios/lib/core/createError.js:16:24 in createError
node_modules/axios/lib/adapters/xhr.js:87:25 in handleError
node_modules/raven-js/src/raven.js:377:26 in wrapped
node_modules/event-target-shim/lib/event-target.js:172:43 in dispatchEvent
node_modules/react-native/Libraries/Network/XMLHttpRequest.js:567:29 in setReadyState
node_modules/react-native/Libraries/Network/XMLHttpRequest.js:397:25 in __didCompleteResponse
node_modules/react-native/Libraries/Network/XMLHttpRequest.js:503:16 in
node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js:180:12 in emit
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:351:47 in __callFunction
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:116:26 in
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:314:6 in __guardSafe
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:115:17 in callFunctionReturnFlushedQueue`

This is related to subdomains I will dig into that later but I had the same issue and resolve it by removing the subdomain.  https://api.domainname.com/ -> https://domainname.com/api/

I had a similar problem and found a solution. My problem was related to my domain or my certificate.
I found that the domain must not have _ in it. For exemple, https://my_api.mydomain.com will not work. But, https://my-api.mydomain.com or https://api.mydomain.com will work. Note that my SSL certificate came from CloudFlare so this may be a SSL certificate problem too.

please help with this, it still doesn't work, I'm having the same problem

Guys, I also struggling on this issue for quit while. But I figured out the issue of my axios post network createError on Android device now. The reason to axios Network Error is because the form data I passed to axios contains wrong type of data object I guess. I have include an image object(ImagePicker object from Expo) as a one of param of form data which not accept by axios I think. Axios might only receive string, float, int or image as param. image cannot pass as param, it is not an type of image, it is an react native object, I have removed it and include an image field as param by assign image.uri to value of param then it works. Hope this will help some of people who may encounter same problem as I was facing before.
Deleting some of your form data one by one when you are testing axios Network error, you will find out which one is the cause of issue.

If you are trying to call localhost on android simulator created with AVD, replacing localhost with <IP_ADDRESS> solved the issue for me.

I'm having the same problem with a simple GET request to my Rest API hosted in heroku. On IOS emulator the same request works well.
'''
axios.get('https://my-app-api.herokuapp.com/api')
.then(response => {
this.setState({ bets: response.data })
});
'''

I am also having the same problem. This is only related to Android 7.0, for other Android versions, it works well.
Problem is that Axios https post request is not even reaching to the server. It got failed with Network Error only because of SSL Handshake got failed.
It works well with all iOS versions as well as all Android versions except Android 7.0.
Looks like Android 7.0 has some serious problem in okhttp.

I'm having the same issue as well. I'm on the latest version of Android and I've tried sending a simple text over to my server but still receiving network error. Same thing goes for the get request

I finally manage to fix the issue. Used my networks IP address and it works. eg http://:/api

If you are trying to call localhost on android simulator created with AVD, replacing localhost with <IP_ADDRESS> solved the issue for me.

Got them

similar issue here, everything works find with iOS, android just can't work.

Same issue here. I am already using 10.0.02, and my actual call happened (it send an email).
.post(`/sendMail`, null, {
      params: {
        mail,
      },
    })
    .then(response => response) // No output
    .catch(error => {
      console.log(error); // ERROR : Network Error
      return error.response; // undefined
    });

I came to this issue as I was experiencing exactly the same symptoms. So this might might be useful information to someone. I'm new to using the Android Emulator, so I was surprised the request, which was working for iOS would fail on Android's Emulator. It turns out that my server, which is https, not self signed had an issue and required a re-install and was therefore not correctly SSL handshaking, which meant I was also getting the same Network Error posted at the start of this post.
I would suggest 100% confirming the cert is installed correctly, getting a report for example from sslshopper - Hope this may help someone 👍

the same issue, it works well in ios,but get

If you are trying to call localhost on android simulator created with AVD, replacing localhost with <IP_ADDRESS> solved the issue for me.

modified local hosts file ？

My GET request using Cordova comes back with Error: Network error on Android, but works fine in a browser and on iOS emulator and iOS physical device. My GET request is:
this.axios.get('http://jsonplaceholder.typicode.com/posts/')
      .then(function(response) {
        self.tomData = response
      })
      .catch(function(error) {
        self.error = true
        self.errorText = error
      })

And I'm using Cordova 8.0.0. I've tried HTTPS & HTTP, I've tried different domains as well.

What worked for me was instead of using https:// I used http:// for the Android emulator. For iOS http:// doesnt work while https:// does.

What worked for me was instead of using https:// I used http:// for the Android emulator. For iOS http:// doesnt work while https:// does.

This is not the solution if i have oonly one https domain.

That worked for me.

Turn off the PC Wifi
Close the emulator and wipe data.
Start the emulator
Turn on then PC Wifi

My header:
headers: {
	'Accept: 'application/json',
	'Content-Type': 'application/json; charset=utf-8'
}

I have a test application that its backend is done in Adonis (local) and the front react-native and axios, to show a get of an API, but in the emulated it presents the following error:
Possible Unhandled Promise Rejection (id: 0):
Error: Network Error
Error: Network Error ...,
in the insonima it works normally with methods GET, POST, DELETE ...
someone could help.
import {

  Button
} from 'react-native';

import Axios from 'axios'
class App extends Component {
  handleShowDB = async () => {
    const DB = await Axios.get('http://<IP_ADDRESS>:3333/users/getuser/1')
    console.log(DB)

  }
  render() {
    return (
      <Button
        title={'Preenter code heress'}
        onPress={() => this.handleShowDB()}
      />
    )
  }
};
export default App;

https://ibb.co/7J5cJH9
`

At least for me, which I have api running locally by "Adonis", I put the following address in my android emulator, which is different from the address used by the computer.
/* Endereços para cada emulador/simulador:
** Genymotion:                        http://<IP_ADDRESS>:3333/
** Emulador Android Studio: http://<IP_ADDRESS>:3333/
** Simulador IOS:                    http://localhost:3333/
https://blog.rocketseat.com.br/react-native-autenticacao/

That worked for me.

Turn off the PC Wifi
Close the emulator and wipe data.
Start the emulator
Turn on then PC Wifi

My header:
headers: {
	'Accept: 'application/json',
	'Content-Type': 'application/json; charset=utf-8'
}

OMG, you've saved my time bro!

Nothing worked.
Is there any solution for this ?

What is the error?

Hello @helloitsm3, Just fixed this. Was experiencing same error as this issue title.
But fixed it replacing localhost with <IP_ADDRESS> and making sure that data is on in android simulator.

If you are trying to call localhost on android simulator created with AVD, replacing localhost with <IP_ADDRESS> solved the issue for me.

I'm so disappointed when it worked.

For anyone facing issues on Android 9, just add android:usesCleartextTraffic="true" to application tag in your AndroidManifest.xml.
I read through all the answers above and just adding what worked for me.

@yasirlateef http request is disabled by default on Android 9 or higher
this flag android:usesCleartextTraffic="true" enable http
https://developer.android.com/guide/topics/manifest/application-element#usesCleartextTraffic

is there anything to do on axios' end?

is there anything to do on axios' end?

There's nothing to do on Axios end. All you have to do is to use the ip address instead of localhost and it'll work

it seem like a "fetch problem" i had met on React Native specific for Android 7.0.
The reason for that is using self signed certificate

This could be the problem

Looks like the problem is related to some Android settings. If there is anything axios should have to improve, feel free to open an issue.

@ghost Super correct, 200% Right

Meu caso funcionou trocando o localhost pelo ip da maquina na chamada da api

I had similar problem with my website hosted on AWS EC2 working fine in desktop browser, but it wasn't fetching data from the database through the API (hosted also there). I was trying to fetch it through http://localhost/api/... and that worked fine on desktop, but for some reason it did not in any Android browser (tried on actual device, I don't have Android Studio installed). It was giving me Network Error (I found out through logcat logs).
Somebody here recommended to change localhost to the actual IP address of the server, even though that's working fine on desktop, and so I tried changing the URL to http://PUBLIC_IP_ADDRESS/api/... and it worked! Altough, I'm not happy about this solution, it was the only way it worked. Hope this helps someone.

change from localhost to your ip
add http://

http://<IP_ADDRESS>:3000/user/

and :
keep Device(or emulator) and your system  on the same network

If you have the luxury of stepping up to a newer Android version I've done the following tests:
Emulator Api24 does not work
Emulator Api25 does not work
Emulator Api26 works!
I haven't tried newer versions (exept on a physical phone (Android 10)) where it also works.

I have removed it and include an image field as param by assign image.uri to value of param then it works.

Could you please let me know how to do this in detail?
Exactly same issue for me.


Remove void ArduboyTunes::delay (unsigned duration) {

Can anyone tell me why we need this?  I'm thinking it's a carry over from the tunes library we borrowed from in case you reused timer 0, but we already have the system delay() and timer 0 tracking time so I'm not sure why we need a second delay at all... it doesn't seem to be used internally in the audio class.
Any objections to snipping it?

From the original: (https://github.com/LenShustek/arduino-playtune/blob/master/Playtune.cpp)
  // We provide this because using timer 0 breaks the Arduino delay() function.
    // We compute the toggle count based on whatever frequency the timer used for
    // score waits is running at.  If the frequency of that timer changes, the
    // toggle count will be adjusted by the interrupt routine.

Yeah this can go.

At least there was a comment?

Closing as there is now a PR.


Added options and Registry questions

Added some options and additional questions regarding the registry.

Included suggested items from here #7


family_fasta.py feature needed after bugfix map_opentol.py

Need to select only barcodes with an opentol ID mapping. Right now this is not the case because it only has a very small percentage of mappings because of a request error in map_opentol.py

Done already, but doest not work without some testdata with some opentol_id mappings in db table: taxon


Speed is broken for new tokens

I think a recent version of foundry may have deprecated the speed attribute. Now there are multiple speeds (walk, fly burrow, etc.), under the movement attribute. This means that the speed shows up as empty on new tokens. I don't know the plans for the module, but if you don't want to add some UI to select which speed to use, just using movement.walk would probably be a fine fix for now.

Fixed in 2.1.0


Automated cherry pick of #7712: httperrors: support setting lang with X-Yunion-Lang

Cherry pick of #7712 on release/3.4.
#7712: httperrors: support setting lang with X-Yunion-Lang

/lgtm
/approve

/lgtm
/approve


request a new release

Have some build with go1.19 for 0.4.2 release, but the master builds out fine with go1.19. Thanks!

cc @lemnos

Please do make a release, there are some great new features users of the binaries are missing.


Remove AWS RHUI client as it enables repos

/test e2e-aws-tests

/test e2e-aws-tests

/override ci/prow/e2e-aws-tests ci/prow/e2e-aws-tests-arm
We can debug ipv6 in parallel


WIP H3 refactor for a simpler public api

This PR removes a lot of complexity in the public API, by offering fewer choices for Request and Response stories. By keeping the BodyReader only.
This is what a full featured client Request looks like now:
    let (quic_driver, h3_driver, conn) = client.connect(url)?.await?;

   // spawn drivers

    let request = Request::builder()
        .method(Method::GET)
        .uri(url.path())
        .header("client", "quinn-h3:0.0.1")
        .body(())?;

    let (recv_response, _) = conn.send_request(request).await?;
    let (response, mut recv_body) = recv_response.await?;

    let mut body = Vec::with_capacity(1024);
    recv_body.read_to_end(&mut body).await?;

    if let Some(trailers) = recv_body.trailers().await {
         // ...
    }
    conn.close();

This is more or less how Hyper's h2 is used.
It also includes logging capabilities that were found useful for interop work.

I'm going to open a discussion issue soon to see what API we want to keep / add / refactor. I've started looking Hyper to have more infos on this.

I still have to refactor server builder, then I think it will be a good merging point.
I wonder if we need the same capacity-aware API as h2. For the moment I don't see why it would be needed in place of our AsyncWrite implementation.

If we're satisfied that this is a good direction, why do you want to hold off on merging this?

Just a little more commit and we're good to go. Server builder interface need some trivial work.

Ah, ok.

I should maybe move BodyReader::poll_read() into a Stream implementation. I'm not sure that we loose any ease of use that way.

I think it's ready now.

Nice!


sap_hana_install: Provide test scripts for automated HANA installation

The test scripts should support:

test preparation
test runs
saving test outputs to log files
unattended HANA uninstallation

Note: Test outputs will be written into separate files (prepare, run, uninstall) in a newly created directory for each test, with the following directory name pattern:
./hana-install-test-logs-<RHEL_RELEASE>__YYYY-MM-DD_HH:MM:SS
Example:
./hana-install-test-logs-8.4_x86_64_2022-03-06_22:59:11

Solved in https://github.com/sap-linuxlab/community.sap_install/pull/79 .


Cairo Projects: Packages and Crates

Explain what a crate is
Create a package with scarb and explain the package structure (lib.cairo default crate root module..)

Estimated time: 1 hour

I can do this


Sb sandbox kafka

One question I had is that I was getting the UserSocket:{} as still empty so I am wondering it that is why I get null messages.  I put in the harvest message that was in the test harvest function for person instead.  The code is still there for the change but I wanted to make sure that the UserSocket issue is the reason that this is happening.  Otherwise it is up there besides button styles.

Let looks like its on the right track, however lets change the element name to rp-toast-message


BUG: Some Open Source sections are not opened while searching.

Problem / Issue No.

#329

Describe Problem / Root Cause

Some of the open-source resources have not been searched in the search bar section on the main page.

Solution proposed

Some code was missing in the home_page.dart file, so I resolved it and fixed the bug issues.

Additional Information

The additional information provided in your sentence clarifies the specific steps you took to resolve an issue:

File Reference: You mention the specific file (home_page.dart), which indicates where the issue occurred.
Problem: Some code was missing in this file.
Action Taken: You resolved the issue by adding the missing code.
Outcome: The bug was fixed as a result of your action.
Screenshots

Original Screenshot (Problem/Issue)

https://github.com/user-attachments/assets/1eb9ae9c-1dfc-434b-bcb6-9425e0432c61
-Updated Screenshot (Fixes/Solution)
https://github.com/user-attachments/assets/975c0d27-caa0-424d-9e5f-cfd0bd124690

Approve it @andoriyaprashant


Feature/qe enhancement add time zone

Coverage remained the same at 75.893% when pulling bf47c3182ace2f32ba60ca4bb559591a9296c014 on feature/qe-enhancement-addTimeZone into 715df0014cbb340d97fa3baa3456b3b1cded293b on develop.


WIP: [R] Verify CRAN release-11.0.0-rc0

Do not review/merge; this is just part of the R release process

@github-actions crossbow submit --group r

OK, so the valgrind failure is one we know about, but wasn't the devdocs one that @paleolimbot already fixed?

@github-actions crossbow submit r-binary-packages


strokeDasharray not working on android, but ios work fine!

const AnimatedLine = Animated.createAnimatedComponent(Path)

<AnimatedLine
              ref={ref => (this._pv = ref)}
              d={`M${T1} L${MT1} L${MT2}`}
              stroke="url(#e)"
              strokeWidth="5"
              strokeLinecap="round"
              strokeDasharray="0, 10"
              fill="transparent"
            />

On ios:

On android Path didn't display any thing
"react-native": "0.50.3",
 "react-native-svg": "^6.0.0"

Have you attempted to render the path without being animated?

@dustinsavery yes, but strokeDasharray props make Path didn't render

I tried rendering a plain SVG line with a strokeDashArray, it works just fine.
            x1="0"
            y1="0"
            x2="100"
            y2="100"
            stroke="red"
            strokeWidth="2"
            strokeDasharray="0, 10"
          />```

@dustinsavery which version of your android simulator? It same wrong only on android api < 24
I test with android 7.1 and It worked

@kuongknight Did you resolve this or is this still an issue?

Closing this because of inactivity.


Add LSP for Hardware Description Languages

Is your feature request related to a problem? Please describe.
As of now mason-lspconfig doesn't allow to install LSPs for VHDL, a Hardware Description Languages.
Describe the solution you'd like
I would like to suggest adding these two LSPs which are already supported by nvim-lspconfig:

ghdl-language-server
hdl_checker

Describe potential alternatives you've considered
No response
Additional context
No response

I would appreciate also including rust-hdl --> vhdl_ls .
Which is also supported by lspconfig.
Thank you.


Fetcher

Im using the CFeedFetcher but sometimes it does nothing.
I mean, it never calls protocols.
Am I missing anything?

TouchRSS isn't under very active development.
You should fix it yourself and provide pull requests. Thanks.


TypeScript and JavaScript Language features

We have written the needed data into your clipboard because it was too large to send. Please paste

.

Disabling the TSLint extension fixed this for me, after it started popping up a few days ago.
Looks like it's deprecated anyway.

It worked once I uninstalled the Application and re-installed it. It would be great if it gets fixed as well in the next release.


Sub navigation in sidebar

🚀 Feature Proposal
Sub navigation in sidebar
Motivation
I think it will be great addition to this already awesome theme. This will let us group some articles inside some category inside the section.
Image has been attached for example

Maybe depth can be added in frontmatter to achieve this.
Too much of nesting certainly sound cumbersome to maintian. But at least one more level would be awesome.

Hi, I think it could be a good thing to have it yes! For now sub-sections are listed on the right of the page. Do you mind these sections or others?

Hi, I think it could be a good thing to have it yes! For now sub-sections are listed on the right of the page. Do you mind these sections or others?

I have been using sub section on the right side, which is very useful..
But at times..page gets too long and difficult to navigate..
For such cases having sub menu would be great for page breakdowns

I have been using sub section on the right side, which is very useful..
But at times..page gets too long and difficult to navigate..
For such cases having sub menu would be great for page breakdowns

I think it scales pretty well on big documentations, for example the xstyled one: https://xstyled.dev/docs/installation/.
Sub sections is a good improvement but I am not sure it is a priority.

I think it scales pretty well on big documentations, for example the xstyled one: https://xstyled.dev/docs/installation/.
Sub sections is a good improvement but I am not sure it is a priority.

so you would be open to pr? :)

so you would be open to pr? :)

@poudelprakash yeah why not if it is optional!

@poudelprakash yeah why not if it is optional!


Add not_applicable_if column to features

closes #208

In line B-5, I noticed two values in the column "not-applicable-if": "B-1-1, B-4-2". Perhaps "|" could be adopted as a delimiter there instead of comma?


SD-Model null/undefined. Installing everything was fine on Window 11 (Fresh ComfyUI 3.11).

sd_model is optional input


roc dev crashes with unhandled parse error

% roc dev test.roc
thread 'main' panicked at 'Error in alias analysis: error in module ModName("UserApp"), function definition FuncName("\x01\x00\x00\x00\x10\x00\x00\x00##7G\xc1/\x9e\x8e"), definition of value binding ValueId(6): expected type '((),)', found type '((heap_cell, bag<()>),)'', crates/compiler/gen_llvm/src/llvm/build.rs:4304:19
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

app "aoc-2022"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.1.2/3bKbbmgtIfOyC6FviJ9o8F8xqKutmXgjCJx3bMfVTSo.tar.br" }
    imports [
        pf.Stdout,
        pf.Task.{ Task },
    ]
    provides [ main ] to pf

main : Task {} []
main =
    Stdout.line (part1 { data : [] })

part1 = \state ->

    dbg state

    sensorData =
        state
        |> .data

    dbg sensorData

    ""

Also may be related?? Can log in separate issue if required.
% roc dev test.roc
thread 'main' panicked at 'not yet implemented: unhandled parse error: Dbg(Continuation(Start(@347), @341), @332)', crates/reporting/src/error/parse.rs:576:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

app "aoc-2022"
    packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.1.2/3bKbbmgtIfOyC6FviJ9o8F8xqKutmXgjCJx3bMfVTSo.tar.br" }
    imports [
        pf.Stdout,
        pf.Task.{ Task },
    ]
    provides [ main ] to pf

main : Task {} []
main =
    Stdout.line (part1 { data : [] })

part1 = \state ->
    dbg state

The second is an error in the parser - the first should be solved by #4768 !

Confirmed the first is resolved by #4768

Renamed to focus this issue on the second, rather than re-open a new issue.


kind clusters: replace docker-cli commands with Docker Engine Go Client to improve podman compatibility

Changes
Replaced the docker-cli commands in kind.go with github.com/docker/docker/client

/kind enhancement

Fixes #408
Fixes #528

Release Note

Improves cross compatibility between users of docker and podman (if docker compatibility mode is enabled). Removes the requirement of installing docker-cli for podman users.

Docs

Podman users should be instructed to enable Docker compatibility mode

Thanks for the PR! You'll need to sign the CLA before we can merge this.
/ok-to-test

Thanks for the PR! You'll need to sign the CLA before we can merge this. /ok-to-test

Signed, sealed, delivered.

When trying this with podman, I got the following error:
Command Output: Error: rootlessport cannot expose privileged port 80, you can add 'net.ipv4.ip_unprivileged_port_start=80' to /etc/sysctl.conf (currently 1024), or choose a larger port number (>= 1024): listen tcp <IP_ADDRESS>:80: bind: permission denied

I don't use podman on a regular basis, so not sure if regular podman users would already have a workaround for the port issue or if we should think about changing the host port on the cluster...
With docker, everything worked fine.

Sounds like you are using rootless podman and are not allowed to bind to port 80. https://github.com/containers/podman/blob/main/rootless.md
I am on macOS using podman machine so kind works as-is.

Perhaps changing to port 8080 or 9000 would be more appropriate for a test/demo setup?

Yeah, I think that makes sense... would you want to do that change too?

Sure. I can make a separate PR.
This change should work for all MacOS/Windows users of docker/podman. For Linux users, the restrictions on binding Port 80 have always been present for both docker and podman - so nothing is broken that wasn't so before.


docker-compose occurs error that manifest unknown

I used the wizard to create a docker-compose.yml file for Jetson and run docker-compose up command.
but "ERROR: manifest for gokalpgoren/face_recognition_pytorch:latest not found: manifest unknown: manifest unknown" has been occured.
I think it happened because there was no image of the arm version.
So, can you upload the arm version of onvf, face_recognition_pytorch on your docker hub?

Hi,
Yes, you're right - there isn't an ARM version of the PyTorch face recognition image. I'll work on creating one next week.
To access the ARM version of the Onvif image, please use the following link:
https://hub.docker.com/layers/gokalpgoren/onvf/v1.0.0-arm64v8/images/sha256-5b6e8d502326965ffadeb4d9ce83710946e63ea779c4a9ba33d79c779a6560b0?context=repo

Thank you!

I believe creating an Arm image for PyTorch face recognition is impractical due to its high hardware requirements, particularly a Nvidia GPU. Instead, I recommend utilizing the Deepstack face recognition service, which is better suited for Arm-powered devices. This approach will provide efficient and effective face recognition capabilities without the need for excessive hardware power.

thx! it worked but i can't use login and register functions

I believe creating an Arm image for PyTorch face recognition is impractical due to its high hardware requirements, particularly a Nvidia GPU. Instead, I recommend utilizing the Deepstack face recognition service, which is better suited for Arm-powered devices. This approach will provide efficient and effective face recognition capabilities without the need for excessive hardware power.

There are Orin and Xavier AGXs with 64Gb ram and others with 90+ cores, so theoretically ARM could be relevant.
Nonetheless it's not necessary for the maintainer to build all variants, maybe just provide a script to do so.
How to build all arm64 images: (depends on two-three pullrequests to be merged)
#!/bin/bash

for module in feniks.web_app ffmpeg_service mngr senseai_service smcp snapshot_service ; do
 cd $module
 #echo "Building $module"
 echo -n "cd $module ; "
 command=`grep arm64 Dockerfile.run |grep build`
 echo -n "$command ;"
 echo "cd .."
 cd ..
done


update  nacos-client-version-2.3.2(#3677)

Describe what this PR does / why we need it
Does this pull request fix one issue?
#3677
Describe how you did it
modify spring-cloud-alibaba-dependencies/pom.xml. -->  <nacos.client.version>2.3.2/nacos.client.version>
Describe how to verify it
Special notes for reviews

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

ptal @ruansheng8

LGTM.


Bugfix/issue 278 jacobian nested

Submisison Checklist

[x] Run unit tests: ./runTests.py test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary:
Fixed error with autodiff stack behavior when nesting begins before anything else is on the stack.
Intended Effect:
Allow nested Jacobian calculations.
How to Verify:
The current unit test fails before this patch.
Side Effects:
Makes nesting more robust outside of Jacobian context, too.
Documentation:
No, just bug fix.
Reviewer Suggestions:
Anyone.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

This looks like another problem with exp2.  I don't know what happened and why it's failing on Stan upstream.

Jenkins, retest this please.

On Apr 10, 2016, at 6:03 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:
This looks like another problem with exp2. I don't know what happened and why it's failing on Stan upstream.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

I just cleared the workspace in hopes that it'll build properly. If that doesn't work, I'll run it by hand.
Daniel

On Apr 10, 2016, at 6:03 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:
This looks like another problem with exp2. I don't know what happened and why it's failing on Stan upstream.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Thanks, Bob.


Add Opus sound format to grab from Youtube

Hi,
I'd like to suggest support for Opus. It's a free sound format that Youtube directly supports and should be pretty transparent at Youtube bitrates (better than ogg vorbis).
It is at least supported by USDX and Vocaluxe nightly.

that Youtube directly supports
What do you mean by that? AFAIK m4a is always available (hence the Syncer default, no conversion involved, fast), webm as well (but support in karaoke softwares is limited), mp3 is not natively available, thus always involves (time-consuming) post-processing. What would be the benefit of supporting opus?

Sorry for the late response. I think Opus is the highest quality option on Youtube. As far as i know Google used FAAC for aac on youtube and that encoder is not that good. The free Opus encoder is pretty good at 128 kbit/s so I thout that was a good choice for singing :) .

It's already in the support_opusbranch, if you want to test it.

Sorry, I don't really have the knowledge to get the branch running at my computer. If you have a compiled bit I sure would test it.


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Fri Apr 01 2016 09:26:03 GMT-0700 (Pacific Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\tmilazzo\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\tmilazzo\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

You are not up to date, please accept the update pop up to fix this issue
You should be up to 3.1.0


[coll] Use loky for rabit op tests.

Fix CI IPv6 test error.

cc @hcho3 Please help review the PR for unblocking the CI when you are available.


Sorting bugged

Added an image, deleted the first, moved new image into its place, and the picture does not appear as the default.
Sorting again fixes it.

Fixed by having all photo changes reload thumbs.


Graphical error displaying the field of view when shooting Dark and Ender bows.

When shooting bows, part of the image field of view disappears.
How to repeat:
Quickly pull the bow and release, to secure repeat several times in a row. Missing parts of the field of view appear at the edges.

EnderIO: 5.1.55
EnderCore: 0.5.73
Minecraft: 1.12.2
Forge: <IP_ADDRESS>47
SpongeForge no
Optifine no
Single Player

is your graphics card up to date bc i don't have any issue with this try reproduce the issue as well

I have an RX570 with the latest drivers. If you consider that in other games, for example in Shadow of the Tomb Raider, The Witcher 3 Wild Hunt, there are no problems at all .

https://radikal.ru/video/UWH7IOtAVQd

I think this is already an emphasis on the minecraft engine, from the rapid approximation of the buggy download of the review.

That's a known bug in Minecraft itself.


Sketches possible fix to help #1124

We're inconsistent as to when originating_functions is populated. So this tries to fix it for expander parameterize decorator at least.
Changes
How I tested this
Notes
Checklist

[ ] PR has an informative and human-readable title (this will be pulled into the release notes)
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

Related to #1124


Created TFP Implementation of Chapter 6

The final Chapter of the book, Chapter 6, has finally been reimplemented in Tensorflow Probability. This includes a rewrite of the bayesian bandits class to make use of TFP instead of Numpy. The images are also in a much MUCH higher resolution than the Pymc2 or Pymc3 versions of Chapter 6.

@CamDavidsonPilon This is the very last chapter of the Tensorflow Probability Implementation.

Nice - I didn't pull it locally to test (experience some strange git problems), but I read the updated jupyter notebook in GH.
👏this is a great accomplishment!


Add a .gitignore file to the .toolpad-generated folder

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Small task, summary not required.
Examples 🌈
No response
Motivation 🔦
No response

To clarify: should this .gitignore file be in the root of the application and include the .toolpad-generated folder so that that folder isn't checked out?
I took a look and this and how the direction-13 codebase works, and it feels like creating this type of file should be done along with the init command which we don't have yet.

We can start by doing it in the init command. But eventually we will do this check as well every time we run dev on an existing project and make sure it's there

Ok, if we should regenerate the files every time the user starts the project then I can add it already!


Incorrectly identifying Ruby files

Example: https://github.com/rails/rails/blob/master/load_paths.rb
The require 'bundler' line is being linked to an NPM package that doesn't exist. Happens with any .rb file I've tried.
I've looked through the code a bit, but I'm not sure of the cause offhand. I believe there's some stuff to limit linking to certain file and code block types. Is that not working because of a Github change?

Hi @timdorr, thanks for reporting this behaviour. I'm already aware of this behaviour. The current implementation covers only JavaScript and manifest files for package.json, bower.json and composer.json. The linke replacement is super fuzzy, that's the reason why I started a couple of months ago a complete rewrite (see dev branch). Unfortunately I'm struggling with the completion, because of lack of time. But soon as the ground work is in place, it will be super easy to add support for other languages (fingers crossed) :wink:
Are you interested in contributing? I'm looking for help especially for https://github.com/octo-linker/live-resolver/issues/5

I close this, because it's already on the todo list https://github.com/octo-linker/chrome-extension/issues/43 :wink:


Solution to Haneke fails on CGSizeZero UIImageView

Haneke fails one of its asserts if you try to load using hnk_setImageFromURL when the UIImageView is size zero. This is my hack to deal with this:
class UIImageViewWithDelayedLoad : UIImageView {
    var url : NSURL?

    init(urlForLoadWhenFrameNotZero: NSURL) {
        super.init(frame: CGRectZero)
        self.url = urlForLoadWhenFrameNotZero
    }

    required init?(coder: NSCoder) { super.init(coder: coder) }

    override func layoutSubviews() {
        super.layoutSubviews()

        guard let url = url else { return }
        guard (frame.size.width > 0 && frame.size.height > 0) else { return }
        self.hnk_setImageFromURL(url)
        self.url = nil
    }
}

Is this redundant with some functionality in Haneke? If not, possibly it's useful to somebody else... thanks!

Quick heads up
You can avoid all that with hnk_setImageFromURL(url, format: Format(name: "original"))
Using a standard format disables the resizing that leads to that crash when the imageView has no frame due to autolayout.

thanks!!! so, in your solution which image is cached? in my solution, is it both the original and the resized? thanks for this response!

Happy to help, so basically Format original, caches the original image, no resizing is done.
If you wanted, you could pass in a custom format and the result of that is what is cached.
let iconFormat = Format(name: "icons", diskCapacity: 10 * 1024 * 1024) { image in
return imageByRoundingCornersOfImage(image)
}

So my class, though it was created in ignorance, could kind of make sense to cache the resized image, assuming that the frame gets set and changes to a non-zero size only once?


GSoC proposal links check

Amahi 2017 returns access denied as that Google file is private.

Cloud CV returns access denied - private file.

Homebrew returns access denied - private file


chore(release): new ibmmq release to support new distributions

Signed-off-by: Alvaro Cabanas<EMAIL_ADDRESS>

maybe rebase? not sure why is detecting two integrations being updated


Generate generic bagit

The lambda at DataBiosphere/bagit-firecloud-lambda expects the TSV currently generated by Boardwalk wrapped in a bagit. The lambda then splits the TSV in the bagit into two TSVs and POSTs them to FireCloud.
The lambda should be generic so consumers other than Boardwalk can use it. This means dcc-dashboard-service should do the logic to split apart the TSV and send a bagit with two TSV files to the lambda

https://github.com/DataBiosphere/bagit-firecloud-lambda/commit/1001f0d44a833c8abb6e7046313d559f84a988c7


ui: customize homepage

closes #101

Remove popular topics,  our services and section
Customize footer
Change header to CERN library catalogue instead of Integrated library system
Add Quick access menu in navigation bar
Change order of sections
Change background image minimum height to 65vh
Remove purple color override
Display max 5 books in each section
Mobile view works correctly for homepage

Screenshots
Quick Access menu:

Sections + Footer:

For the discussion later, we need to make sure here, in the package.json we depend on the new react-invenio-app-ils version.


Supported Base Models

Currently What are the base models supported? . Is llama 2 supported

Just Mistral 7B but should be fairly straightforward to implement other huggingface LLMs https://github.com/sshh12/multi_token/blob/main/multi_token/language_models/mistral.py


Unify the Davidson solvers

Right now there are 4 conceptually similar but different in implementation Davidson solvers for PW-PP and FP-LAPW to solve H|psi> = eS|psi> and S|phi> = o|phi> eigen-problems. This should be simplified.

This is in PR and will be soon merged.


Support tests on Windows

to be able to run tests on Windows

Many developers, including myself use Windows as the only development OS. And being unable to run the tests locally gets in the way of doing proper diagnostics and improving tests in this library.

I don't work on windows. However, if someone else wants to step up and add support for running the tests on windows I'm more than happy to accept a pull request!
I don't think it's something for 7.0 as running the tests on windows shouldn't be a breaking change...so it can land at any time, as soon as someone puts the time in to get the tests running on windows.
If I ever get client work with windows I'll likely implement it at that point.


Reduce min and max wait times for virtual Programs users

Reducing the min and max wait times allows fewer greenlets to generate more throughput. Also removes an unnecessary conditional performed during JWT generation.
@peter-fogg, please review. FYI @edx/ecommerce

Just as a heads up, the smaller your wait time, the less sensitive your test will be to hiccups in the service.

:+1: Thanks for doing this cleanup.

No problem @peter-fogg, thanks for catching this.
@cpennington can you elaborate? One would think that smaller wait times would result in more data points, and thus increased sensitivity to any discrepancies in performance.

Discussed offline with @cpennington. Shorter wait times paired with small numbers of virtual users may cause a load test to miss discrepancies in response time since fewer greenlets get hung up waiting on slow requests.


Mod Conflict with XPlus Autofish. Works without Placebo, Fails with Placebo enabled [MC 1.21.1 Neoforge 21.1.21+]

Mod conflict with XPlus Autofish. Error occurs during launch. XPlus works without Placebo and fails with it enabled.
Minecraft 1.21.1
Neoforge 21.1.21+ (tested with 21.1.21 and 21.1.23 with same results)
Full Mod List:
XPlus Autofish 1.3.1 https://www.curseforge.com/minecraft/mc-mods/x-autofish
Cloth 15.0.130 https://www.curseforge.com/minecraft/mc-mods/cloth-config
Placebo-1.21.1-9.4.1 https://www.curseforge.com/minecraft/mc-mods/placebo
Error:
The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "com.wudji.xplusautofish.XPlusAutofish.tick(net.minecraft.client.Minecraft)" because "this.autofish" is null
Crash Report:
https://pastebin.com/S1PrLJ5A
Repro:
In Curseforge, install a new instance of Minecraft 1.21 with Neoforge 21.1.21+. Add XPlus Autofish, Cloth API, and Placebo. Launch instance.  Crash will occur before main menu.

https://github.com/Wudji/XPlus-AutoFish/issues/22

That's a cheat mod, I don't have any interest in fixing compat with it.

Thank you for looking into it.

Your comment keeps coming back on me and I hope you'll entertain a quick question about it. I believe you have the prerogative to work on whatever interests you, so I'm not trying to argue with you about working on compatibility. It is just your classification of the mod as a "cheat" that confuses me.
I quite enjoy your mods and use them in many playthroughs as an essential part of some of my favorite packs, so I am familiar with their mechanics. Many of your mods focus on AFK or simplified mob harvesting, such as Apotheosis spawners, and even unattended drop farming such as with Hostile Neural Networks. I have used HNN in the ATM packs to automate the gathering of literally millions of drops, as manufacturing ATM Stars in that pack require millions of diamonds, emerald, nether stars, etc.
My question is can you help me understand the difference between a mod that automates resource gathering and a cheat mod? The fishing mod in question allows you to AFK the as boring as watching paint dry fishing mechanic and nothing more. Can you help me understand why AFKing a vanilla grind is a cheat but unattended drop gathering is not?
As I said, I support your right to work on what interests you, so this question is just out of curiosity.

I'm assuming it's because the mod (by the looks of it) is entirely client-side, and could be abused on servers and whatnot.

Considering you're playing modded Minecraft, why don't you use a mod that fleshes out fishing automation in interesting ways instead of using a mod that makes it so you have to AFK overnight to get items? I could only imagine using that mod on a vanilla server to get fishing loot easier, not in an actual "modded" setting, if that makes sense.

It is entirely client side, but I can think of other mods that can be client side only that are fundamental to a good client, such as JEI. If you consider the way vanilla unlocks recipes to be important, JEI is a cheat mod.
I have also looked at more content oriented fishing mods. They add things like nets or "fish farm" blocks that output fish loot to a nearby container, but all of them incorporate their own loot tables making their out-of-the-box mod integration sketchy. For example, I am using Aquaculture 2 as part of the All The Mods 10 pack that is the foundation of my Minecraft instance. It adds a ton of new content, which is interesting, but it adds no automation instead preferring to create more reasons to play the fishing minigame. I recently needed some of the neptunium ingots Aquaculture 2 adds to the game as part of an ATM integrated recipe, and the RNG was unkind. It took a couple hours of the fishing mini game to get what I needed, which inspired me to put down Minecraft and go play something else for a couple days. None of the fishing automation mods that I have seen would have allowed me to build a solution for this because of the built-in loot tables - you either sit there and watch the bobber or go do something else.
So I think your points are good to bring up, mostly because they illustrate why none of the content oriented, non-client side solutions solve fishing automation in modded minecraft. The only automation solution for fishing that I've seen that plays well with content mods is to automate the vanilla mechanic, and that means a client mod. Incidentally, if you know of an exception to this, I'm very interested in hearing about it.

See https://github.com/Shadows-of-Fire/Placebo/issues/86.
Xaero's map allows players to get much more information about the surroundings than other players, which can run entirely client side. If that's the case, Xaero's map is a cheat mod.

A great many servers do consider certain features of Xaero's (such as player radar) to be cheats.  Anyway, this discussion is not relevant to Placebo, so I'll be locking this.


Fix typo in Coffeescript comparison

Not only is CoffeeOf the wrong capitalization, coffeeOf is the wrong directive.

Thanks!


Fix issue with request body and path matching rules generation

Working on fixing specs now. I just started learning ruby yesterday so I apologize for not addressing this before the pull request was created.

Sorry @MattTYXM, as mentioned, house move is getting in the way of code time. I have not forgotten about this!

Found another issue where the remove interactions endpoint was not clearing the verified interactions which was causing issues when multiple consumer tests were executed against a single running mock service. I modified the endpoint to consider a "keep_verified" parameter that when true will follow the existing logic and when it is false or not passed ALL interactions are removed.

Please submit separate PRs for different changes so they can be evaluated separately.


The ollama model how  resides on the gpu?

Can you clarify your ask?  Does this PR address what you are looking for?

he may ask to keep model in GPU RAM all the time, even it does not used for a very long time.

he may ask to keep model in GPU RAM all the time, even it does not used for a very long time.

Yes, that's what it means @dhiltgen

he may ask to keep model in GPU RAM all the time, even it does not used for a very long time.

Yes, that's what it means @dhiltgen

I think it is advantage of Ollama which enhance the performance of machine. If you may try LM Studio which meet your need.@lonngxiang

See https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-keep-a-model-loaded-in-memory-or-make-it-unload-immediately
In short, set keep_alive to a negative number and the model will stay loaded indefinitely.


[tests-only][full-ci] Added tests for checking version of file uploaded with same mtime twice

Description
Added these scenarios:
Scenario: Upload the same file twice with the same mtime and a version is available
Scenario: Upload the same file more than twice with the same mtime and only one version is available
Scenario: Upload the same file twice with the same mtime and no version after restoring

Related Issue
Test added for https://github.com/owncloud/ocis/issues/5010
Motivation and Context
How Has This Been Tested?

test environment: local

Screenshots (if appropriate):
Types of changes

[ ] 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 change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[x] Acceptance tests added
[ ] Documentation ticket raised:

Add the same tests for core?

Add the same tests for core?

Yes, I think so.


[cudapoa] improve error handling in cudapoa kernels

Adding error handling for max edge count error Issue observed in #45

@SamStudio8 can you try this PR out on your dataset and let me know if it fixes your problem?
To test this with racon-gpu -

Clone ClaraGenomicsAnalysis in a separate repo and checkout this PR
Build racon-gpu with the following flag:
`-DCLARAGENOMICSANALYSIS_SRC_PATH=<path_to_CGA_repo_from_1>
Run racon-gpu as usual

@tijyojwad Sure, I'll try this today.

@tijyojwad Those breaks that you've changed to returns (here and here) now stop us reaching the new edge error condition.

@SamStudio8 the mechanism we built into racon with CUDA support was that if the window failed to get polished on the GPU, then it would fall back to getting polished on the CPU instead. That's why the exit code is 0 since the CPU processing of those windows was successful.

@SamStudio8 can you confirm that you're seeing this line in output?
polished remaining windows on CPU x.y s

This will confirm that failed windows are bring processed on the CPU

@tijyojwad Yes! I see that output. eg:
[racon::CUDAPolisher::polish] polished remaining windows on CPU 19.288 s

rerun tests


different image width between training and test

Hey,
My training width is 320 and test width is 340, which will cause mismatch issue, did this model support doing inference on different width from 320？
Traceback (most recent call last):
File "test.py", line 286, in
test(opt)
File "test.py", line 212, in test
model.load_state_dict(torch.load(opt.saved_model, map_location=device), strict=False)
File "/home/anaconda3/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 839, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for DataParallel:
size mismatch for module.Transformation.GridGenerator.P_hat: copying a param with shape torch.Size([10240, 23]) from checkpoint, the shape in current model is torch.Size([10880, 23]).

I did some debug, I found "model = torch.nn.DataParallel(model).to(device)" cause this error

I have the same question

I have the same question

width should be fixed when you use tps moudle.


Add arrow to start of a repetition

Like hinted with this shitty and quick drawn picture:

Added in ebae8a36f6a36745b8aa47e960dba7caa036bb00 and will be merged together with changes from #64

Added in #89