Loading forever

I hate to even ask as I'm sure you've heard this before, but my grid just says loading forever and never displays anything. I can see the outline of the grid, but that's it. I've checked my files, tried to make it a simple as possible, checked db connection (user root with no password). I'm a PHP developer, but definitely not a JS guy. I'm sure this must be something simple I'm overlooking that hopefully you can tell me in 5 seconds.
Thanks,
Chris

So we need to do some debugging. First open the Chrome Developer tools and look at the Console tab. Are there any errors there?
Also, open the dev tools and go to Networking, and look at the ajax requests (the XHR tab). Click on each one and see what PHP is saying about the issues.

I see nothing in console. The network XHR tab IS displaying my data from the db (product info) so it must not be a DB issue right? See attached screen shots.

So you can see the problem is that that response is not PURE JSON.  You need to go to your PHP and fnd out why all that is spitting out. And kill it.

Ahh, OK, I'll try that. This is a local WAMP server obviously, what I really is to run it on a friend's IIS server. I want to integrate into his site using a bootstrap theme. On that server, it displays the column headers, but no data. That console says "Uncaught TypeError: $(...).grid is not a function" for:

That Error sounds like the grid JS file is not being included, or not included correctly

OK thanks. I'll try to see if it's in he wrong place or something.

I'm having the same issue. grid just says loading forever and never displays anything.


The no-mergeable-selectors rule makes a bad suggestion

I am using the current version of gulp-sass-lint
I have this code
.is-sticky {
	//Add this class when an element is stuck to the page
	&:not(.no-sticky-shadow) {
		//A class could be added to prevent this shadow from being added
		box-shadow: $shadow-z-2;
	}

	&:not(.card) {
		//Only add these for non-cards
		background-color: $card-bg;
		padding: $spacing $spacing-small 0 $spacing-small;
	}
}

Which produces this error
Rule `.is-sticky &:not(null)` should be merged with the rule on line 152

I don't understand why or how those rules could be merged, and it's apparently not even parsing these rules correctly due to the null being in there.  My guess it that it parses each of these rules as :not(null) which makes it appear they are the same selector and could be merged.

Yeah, it's a bug. I'll look into it, it's not reading the content inside the parenthesis correctly. I thought i'd caught all cases of this but obviously not. Sorry!

In the meantime I was able to add this to my configuration to ignore this false positive
no-mergeable-selectors:
    - 1
    -
      'whitelist':
        - '.is-sticky &:not(null)'

Hi @chrismbarr can you just check which version of sass-lint you're using?
This seems to be working correctly in 1.9.1
See below screenshots

Your example passing

failing as it should if i make them the same.

Ah, you're right.  sorry, my fault.  It looks like gulp-sass-lint only pulled down sass-lint version 1.9.0 initially.  I've fix this to pull down 1.9.1 now and it does work correctly.


Relax upper bound for dill

Dill now has a 0.3.0 version. Could not find any release notes to tell whether there are any breaking changes or not. (Asked here: https://github.com/uqfoundation/dill/issues/223)

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Run Portable_Python PreCommit

The change looks fine, let's see if we get any response about the release notes.

@aaltay https://github.com/cloudpipe/cloudpickle has a changelog. :wink:

We started to consider a switch to cloudpickle along the sidelines of several issues, but it makes sense to dedicate an issue of its own to this migration, opened https://issues.apache.org/jira/browse/BEAM-8123.

Dataflow errors on this PR occurred in postcommit test suites last week, I think they are not specific to this change.


RuntimeError: handle_0 INTERNAL ASSERT FAILED at "../c10/cuda/driver_api.cpp":15, please report a bug to PyTorch.

Traceback (most recent call last):
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/train.py", line 230, in
main()
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/train.py", line 175, in main
train_model(
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/train_utils/train_utils.py", line 180, in train_model
accumulated_iter = train_one_epoch(
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/train_utils/train_utils.py", line 56, in train_one_epoch
loss, tb_dict, disp_dict = model_func(model, batch)
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/../pcdet/models/init.py", line 44, in model_func
ret_dict, tb_dict, disp_dict = model(batch_dict)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/../pcdet/models/detectors/pv_rcnn.py", line 11, in forward
batch_dict = cur_module(batch_dict)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/../pcdet/models/roi_heads/pvrcnn_head.py", line 151, in forward
pooled_features = self.roi_grid_pool(batch_dict)  # (BxN, 6x6x6, C)
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/../pcdet/models/roi_heads/pvrcnn_head.py", line 97, in roi_grid_pool
pooled_points, pooled_features = self.roi_grid_pool_layer(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/media/iruma/Data/AIR/radar/OpenPCDet/tools/../pcdet/ops/pointnet2/pointnet2_stack/pointnet2_modules.py", line 95, in forward
new_features = self.mlpsk  # (1, C, M1 + M2 ..., nsample)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/container.py", line 215, in forward
input = module(input)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/activation.py", line 101, in forward
return F.relu(input, inplace=self.inplace)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/functional.py", line 1471, in relu
result = torch.relu(input)
RuntimeError: handle_0 INTERNAL ASSERT FAILED at "../c10/cuda/driver_api.cpp":15, please report a bug to PyTorch.
When I use the train.py code, I found the error. I don't know how to solve it. Please help me. Thanks.

I have fixed it. Please be careful when you use CUDA12.

I have fixed it. Please be careful when you use CUDA12.

I met the same error. Can you share how you fixed it please?

I have fixed it. Please be careful when you use CUDA12.

I met the same error. Can you share how you fixed it please?

I lowered my batch size to 1 and lowered my workers to 1. It worked well. When I use RTX4090, the error didn't happen. Personally I think it is like the error: cuda out of memory. Nothing to do with the code.

It works when I lowered my batch size to 1, but how about other batch sizes?

It works when I lowered my batch size to 1, but how about other batch sizes?

Pay attention to your num workers and your batch size. You can equate this error to CUDA out of menory. You can use devices with more GPU memories to solve the problem.


Add support for arcam fmj receivers

Description:
Add support for arcam fmj receivers
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#9660
Example entry for configuration.yaml (if applicable):
arcam_fmj:
  - host: <IP_ADDRESS>
    zone:
      1:
        turn_on:
          service: 'broadlink.send'
          data:
            host: <IP_ADDRESS>
            packet: JgAVADodHTo6HR0dHR0dOh0dHR06Oh0dHQ0FAA==
      2:

Checklist:

[X] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.
[X] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[X] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[X] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[X] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[X] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Currently tests are failing since lib is 3.6 only. depends on yields in async functions. I will see if can fix that, but i oh so wish we could speed up the 3.5 removal :)

Anything more i need to look at before I press the merge button on this?

Please don't merge until another member has approved.


chromadb depends on uvicorn-standard not uvicorn

chromadb depends on uvicorn-standard not uvicorn
Fixed in https://github.com/conda-forge/chromadb-feedstock/pull/51
Checklist

[x] Used a static YAML file for the patch if possible (instructions).
[x] Only wrote code directly into generate_patch_json.py if absolutely necessary.
[x] Ran pre-commit run -a and ensured all files pass the linting checks.
[ ] Ran python show_diff.py and posted the output as part of the PR.
[x] Modifications won't affect packages built in the future.

Why is this still in draft? It's probably good to go.

I haven't done python show_diff.py yet. I was having trouble with my environment earlier.

CI runs it, you could theoretically copy from there. Sadly, there the diff is empty.

Thank you!


On Raspberry Pi AS3935 CS cannot be linked to board.CE0

Because of the special read protocol (CS has to go HIGH-LOW-HIGH at the end of a read, lines 638-642 in sparkfun_qwiicas3935.py) the normal SPI0.0 CS of the PIi (board.CE0) cannot be used.
You have to use a normal GPIO for the AS3935 CS. I used GPIO25, board.D25 (which is just above CE0 on the 40-pin connector).
Then it works on the Pi.

Interesting.  D25 isn't available on the Sparkfun Pi Hat, so I'll set it up on D20.  The CS can be any unused GPIO pin.


feat(onyx-434): Add 'details' text input to create/update alert UI

This PR resolves ONYX-434
Description
Add details text input to create/update alert UI

Create form
Edit form

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[x] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Add 'details' text input to create/update alert UI - @nickskalkin

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (Add 'details' text input to create/update alert UI - @nickskalkin)

  Generated by :no_entry_sign: dangerJS against 750352138f22e1a2fbcd8bc32d38291e157da0de


Open the most recent folder on startup

Could we have an option to toggle so the editor would open in the last opened folder automatically?
I know you can go to recent folders and open it from there, but this would make life a bit easier
I'm sorry if this is already a thing and I can't find the option

Or does that go against the design philosophy?

It's an absolutely reasonable request. I'll implement it as an optional behavior (I personally won't use it).

Thanks!

Added the option here:

It will be available in the next release.


Enable to dynamically reload authorization plugins via daemon.config

- What I did
Enable to dynamically change the authz plugin configuration (using daemon.config mechanism)
- How I did it
Store a ref to the authz middleware, and replace plugin content as required
- How to verify it
Added new plugins and removed them.
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
Following #22729, enable to dynamically reload/remove the daemon
authorization plugins (via standard reloading mechanism).
https://docs.docker.com/engine/reference/commandline/daemon/#daemon-
configuration-file
Daemon must store a reference to the authorization middleware to refresh
the plugin on configuration changes.
Signed-off-by: Liron Levin<EMAIL_ADDRESS>

design is ok for me
ping @docker/core-engine-maintainers @jfrazelle

I'm also fine with the design

sounds good to me, so moving to code review

Thanks @LK4D4 and @calavera for reviewing (I've updated the PR accordingly).
The read race can potentially cause the authorization operation to use the 'old' authz plugin (while replacing it) but nothing more.

Should we wait this pull request to be merged to install authz plugins with the experimental plugin feature of docker 1.12?

@npcode the initial version of "plugins" will be for volume plugins, not for other types, so it may be okay to review/merge this separately
ping @LK4D4 @calavera PTAL

LGTM

ping @tiborvass @anusha-ragunathan PTAL as well

LGTM

moving to docs review; @liron-l could you add some information about docker being able to live-reload these plugins?

Thanks @thaJeztah, I've updated the documentation, let me know what you think.

Thanks! Left some suggestions; also can you squash your commits?

Thanks for reviewing @thaJeztah. I have fixed both comments.

thanks, LGTM!

1.12 was released, so we can go ahead now
ping @liron-l can you squash your commits, then we can merge

Thanks @thaJeztah. Done

Hm can't see what's wrong in this output (probably not related, I'll restart) https://jenkins.dockerproject.org/job/Docker-PRs-userns/12554/console
13:01:25 FAIL: docker_api_auth_test.go:12: DockerSuite.TestAuthApi
13:01:25
13:01:25 docker_api_auth_test.go:24:
13:01:25     c.Assert(msg, checker.Contains, expected, check.Commentf("Expected: %v, got: %v", expected, msg))
13:01:25 ... obtained string = "Wrong login/password, please try again. Haven't got a Docker ID? Create one at https://hub.docker.com"
13:01:25 ... substring string = "Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password"
13:01:25 ... Expected: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password, got: Wrong login/password, please try again. Haven't got a Docker ID? Create one at https://hub.docker.com
13:01:25

docs CI failure can be ignored, we're working on that

re-LGTM (if green)

Thanks @thaJeztah, I'm getting the following error on documenation build machine:
12:01:39 write /var/lib/docker/tmp/GetImageBlob672114165: no space left on device
12:01:39 Build step 'Execute shell' marked build as failure.

LOL, that's a new one

ping @SvenDowideit PTAL

ah yes, the joys of jenkins nodes - that one's gone, so i've kicked off a retry.

LGTM 🐸


Fix precache readme links and kustomization

Fixes pre-cache samples readme links and kustomization file.
/cc @imiller0 @irinamihai
Thanks to @yliu127 for finding these

/retest

/lgtm


Adds new Hello World Starters in a variety of languages.

These were recently added in https://github.com/cloudflare/template-registry/pull/45/files

I wonder if we should somehow group all of the Hello World examples so that the non-Hello World ones are a bit easier to reach. Now that there are so many Hello World examples at the top, I worry that somebody may stop scrolling thinking that all of the starters are just Hello World.
Could be done as as tabs? Something like this (quickly hacked together):

Yes, tabs would be awesome. Someone also gave me feedback it'd be good to have the multilanguage support for the other code snippets and templates as well.
On Jul 27, 2020, 12:10 PM -0700, Adam Schwartz<EMAIL_ADDRESS>wrote:

I wonder if we should somehow group all of the Hello World examples so that the non-Hello World ones are a bit easier to reach. Now that there are so many Hello World examples at the top, I worry that somebody may stop scrolling thinking that all of the starters are just Hello World.
Could be done as as tabs? Something like this (quickly hacked together):
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Re: language support:
I was chatting with @davidtsong earlier, it'd be great to have an equivalent of https://wiki.cfops.it/display/EW/Language+Support publicly — especially to call out that there's a difference in the degree to which we "support" different languages.
I don't think the Examples is the right place to do it, but my ask for the Starters page is to have some sort of "pill" type indicator that specifies that some are "experimental" or "wrangler only" or something.

Nice, yea.
Based on this, my quick take is we should add a page under Platform called "Languages" (or "Language support", if you prefer). There we could display something akin to that internal table.
Then, on the Starters (and potentially elsewhere), we can do a contextual <Aside/> (which discusses e.g. a specific particular lack of support for that language) and also links to the relevant portion of that page.


Prepare for v1.10.0 release

This change is

Do you need to update the .psd1 to set the new module version, or is that a different PR?

Yes, I am updating it right now!

Sweet!


[Sonatype Lift] ThreadPriorityCheck

Tool
ErrorProne
File
rest-toolkit-starter/src/main/java/io/github/nichetoolkit/rest/http/HttpThreadFactory.java
Line
50
Description
Relying on the thread scheduler is discouraged. (More Details)

Java并发09:Thread的基本方法(6)-线程优先级priority相关说明与操作

I don't know how to fix it


Adding PHP support to packman

I have tried to follow the existing patterns for other languages. The PHP protoc plugin has some peculiarities because it is user contributed. I have done some small refactoring for handling plugin names, as go also has a differently named plugin.

[Current coverage][cc-pull] is 93.92%

Merging [#39][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master        #39   diff @@
==========================================
  Files             3          3
  Lines           551        576    +25
  Methods         108        113     +5
  Messages          0          0
  Branches         86         88     +2
==========================================
+ Hits            517        541    +24
- Misses           34         35     +1
  Partials          0          0

Powered by Codecov. Last updated by [fe43070...441f082][cc-compare]
[cc-base-branch]: https://codecov.io/gh/googleapis/packman/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/googleapis/packman/compare/fe43070344ac88eda9a8cdf388dc08687b7c4437...441f082e4abd654c9302270f62531e7f2fed7efb
[cc-pull]: https://codecov.io/gh/googleapis/packman/pull/39?src=pr

PTAL

LGTM
honestly, it reminds me of the restructuring protoc parameters for artman a bit, probably it's better to refactor the code here later -- but for now, this is good.


Crash at answer call at Yotaphone2

Steps to reproduce:

Close riot from app in memmory
Lock screen
Put phone to table eink screen to up.
Start videocall to this phone from web-riot another account.
Get phone from table (main amoled screen to up)
unlock screen
On screen time to time not showing "call answer splash screen".
swipe panel of events
Press to event "riot user start videocall"
Riot is showing at main window, try resizing and crash.
I think this is occur because first at all riot opened on second eink screen (which have another size), then hide at eink, and when I open in on main amoled screen - it is try resizing and crash.

riot_logcat.txt

Video of this bug at cloud:
https://yadi.sk/i/x5tyMkMz0M9TAQ
I think Riot do not crash at resize screen on fly.


Update to Composition API

This PR updates the template to use the Vue's Composition API, building off of the changes in https://github.com/cosmicds/vue-toolkit/pull/6. As a result of those changes, the main component is now no longer built as a class - we're now using a <script setup> tag. This also serves as an example for how to write a component in the Composition API style. The template and simple and doesn't have any watchers, but it does give examples of reactive data, computed properties, a mounted hook, and some use of composables.

Just a note that CI will fail until we actually publish the needed toolkit update.


Added WS status error handling to TransactionService

Added TransactionService Unit Tests
Improved e2e tests to use TransactionService announce
Fixed BlockService class not implementing the interface and deprecated calls
Fixes issue https://github.com/nemtech/symbol-sdk-typescript-javascript/issues/468

@rg911
Due to coverage reporting a little bit lower than it should (I added unit tests around the TransactionService), I've added unit tests around NetworkHttp and NodeHttp to increase coverage. I had to change the constructor of both objects a little bit so the low level generated clients can be mocked and provided in the unit tests. If not, we won't be able to mock them. The added parameters are optional, existing clients won't be affected at all.
If you like this idea, we should start creating unit tests of the HTTP objects by mocking the low-level generated clients. This will increase our coverage, for example on these objects:
https://coveralls.io/builds/29046184/source?filename=src%2Finfrastructure%2FAccountHttp.ts
https://coveralls.io/builds/29046184/source?filename=src%2Finfrastructure%2FRestrictionAccountHttp.ts
https://coveralls.io/builds/29046184/source?filename=src%2Finfrastructure%2FMetadataHttp.ts


Add slash in patch path in build_and_install.sh

Avg response time
coverage on master

Summary of changes
Corrected the path for searching for patch files.
I discovered this while building gfortran 8.1.0 on the Raspberry Pi.  :)
Rationale for changes
Slash was truncated without being replaced.
Additional info and certifications
This pull request (PR) is a:

[X] Bug fix
[ ] Feature addition
[ ] Other, Please describe:

I certify that

[X] I reviewed and followed the contributing guidelines, including
- Increasing test coverage for all feature-addition PRs
- Increasing test coverage for all bug-fix PRs for which there
does not already exist a related test that failed before the PR
- At least maintaining test coverage for all other PRs
- Ensuring that all tests pass when run locally
- Naming PR  to indicate work in progress (WIP) and to attach the PR
to the appropriate bug report or feature request issue
- White space (no trailing white space or white space errors may
be introduced)
- Commenting code where it is non-obvious and non-trivial
- Logically atomic, self consistent and coherent commits
- Commit message content
- Waiting 24 hours before self-approving the PR to give another
OpenCoarrays developer a chance to review my proposed code

Good catch, my bad!
Thanks,
LGTM


stdev does not take ddof = 0

Which version are you running? The lastest version is on Github. Pip is for major releases.
0.3.2b0
Describe the bug
Calling stdev with ddof=0 (and all other derived indicator, like bbands) actually returns a standard deviation with ddof = 1.
To Reproduce
import pandas as pd
import pandas_ta as ta

data = {'close': ['1', '2', '2', '1']}
df = pd.DataFrame.from_dict(data)

df.ta.stdev(length=4, ddof=0)[3] # Shoukd be 0.5

df.ta.stdev(length=4, ddof=0).equals(df.ta.stdev(length=4, ddof=1)) # Should be False

Expected behavior
Should be the same as:
df.rolling(window=4).std(ddof=0)['close']

Additional context
The issue seems to be this validation which fails with ddof = 0.

Hello @dnabb,
Doh! Nice catch!
In the mean time, edit your local copy and replace that validation with the following until the code is updated.
ddof = int(ddof) if isinstance(ddof, int) and ddof >= 0 and ddof < length else 1

Hope this helps!
Kind Regards,
KJ

@dnabb,
Also I have added the changes to the development branch if you want to test it out.
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

Please let me know if it works as intended if you try the development branch.
Thanks,
KJ

Hello @dnabb,
New stable version v0.3.14b should help resolve this Issue. Please let me know otherwise.
$ pip install pandas_ta

Thanks,
KJ

Hello @dnabb,
I assume by no response that the solution provided was sufficient. Thus I will be closing this issue in a few days.
Kind Regards,
KJ

Hello @dnabb,
This should be fixed now. If you can test it out on the development branch and let me know, that would be great.
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

Thanks
KJ

Hello @twopirllc ,
I can confirm the issue seems to be solved in 0.3.18b0.

Just reopening this post. I observed TALIB STDDEV and pandas_ta std_dev generates different output. A reference to this issue is noted here as well https://github.com/mrjbq7/ta-lib/issues/69#issuecomment-901135607
But I just wanted to confirm with others that pandas_ta standard deviation should be safe to use right since it matches my final indicator calculations cross referencing tradingview. I will stop using talib for this function.
code to try below
length=100, fast=50, slow=50

import talib as talib
talib.STDDEV(closeSeries, timeperiod=fast)

2022-06-08 12:00:00    12.704822
2022-06-09 08:00:00    12.060018
2022-06-09 12:00:00    10.837907
2022-06-10 08:00:00    10.635564
2022-06-10 12:00:00    10.512141
Length: 2038, dtype: float64

import pandas_ta as ta

ta.stdev(closeSeries, fast)

2022-06-08 12:00:00    12.833808
2022-06-09 08:00:00    12.182457
2022-06-09 12:00:00    10.947939
2022-06-10 08:00:00    10.743542
2022-06-10 12:00:00    10.618866
Name: STDEV_50, Length: 2038, dtype: float64

Closing this issue, I found the answer in the same talib post (did not read fully sorry!)
While using TALIB need to add nbdev parameter which is np.sqrt(length / (length - 1)
talib.STDDEV(closeSeries * 2, timeperiod=fast, nbdev=np.sqrt(fast / (fast - 1))


Document modeling why a communication was started with reasonCode

This will add reasonCode to the Organizing Communications docs. Fixes issue #3235

coverage: 93.925% (-0.004%) from 93.929%
when pulling 0c6d5c0fc00548053b1b5beed09cf264df58c05b on kevin-communication-reasoncode-documentation
into f3c7d5f1fb206136a8cb37d2a4f39cfb91203591 on main.


Update data-share.md

Removed preview

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


[feature request]  Adding option to VectorPointsToRaster module

dear sirs, first of all let me thank you for your wonderful software.
I would ask if you think it is possible to add the "mean" option to 'VectorPointsToRaster".
Currently the available options are "max", "min", "first", "last", "sum" and "number", but sometimes it is necessary instead to calculate, in a group of overlapping points, the average; for example in a trajectory numerical modeling result with trajectories passing over the same point/cell.
Thank you in advance
stefano

I've just implemented this feature request. It'll be available in the next public release, scheduled for sometime around the end of the month. If you can't wait until then, you may build from source to take advantage of the feature.

thank you very much, I'll wait
stefano


Menhir support in jbuilder?

I am trying to set up jbuilder to run Menhir in various ways on several files. Namely, I have two parsers: Parser.mly and SMV_trace_parser.mly. They are unrelated but located in the same directory. However, for SMV_trace_parser.mly, I rely on the Menhir option of defining the (parsing) tokens in another Menhir file called SMV_trace_tokens.mly.
Hence I added the following rules (using only the menhir rule did not work, even with flags added when necessary):
    (menhir
    ((flags (--infer --explain))
     (modules (Parser))))

    (rule
      ((targets (SMV_trace_tokens.ml SMV_trace_tokens.mli))
       (deps    (SMV_trace_tokens.mly))
       (action  (chdir ${ROOT} (run ${bin:menhir} --infer --explain --only-tokens ${<})))))

    (rule
      ((targets (SMV_trace_parser.ml SMV_trace_parser.mli))
       (deps    (SMV_trace_parser.mly SMV_trace_tokens.mli SMV_trace_tokens.ml))
       (action  (chdir ${ROOT} (run ${bin:menhir} --infer --explain --external-tokens SMV_trace_tokens ${<})))))

When running jbuilder, I get the following error:
    jbuilder build @DEFAULT @install
    Multiple rules generated for _build/default/src/SMV_trace_tokens.mly

Would you mind putting up a reproducible example?

So, I was trying to devise an MWE, but the error I get is not even the one cited above.
I'm used to Ocamlbuild which can deal very easily with grammars spanning many files and where some files only define (syntactic) tokens and others only use them (options --only-tokens and --external-tokens), all together the important --infer option.
So as a first example, I don't even see how to compile with jbuilder the demos/calc-two/ example from the Menhir distribution (Even compiling without Ocamlbuild is quite hard.)


New Feature: Add a Y offset listener or callback

The reason for this feature is the WebView cannot scroll down if it is be put into a PullToRefresh.  Therefore, we need a method to disable/enable PullToRefresh according to the Y offset of the scrolling.  See: https://stackoverflow.com/questions/24923021/swiperefreshlayout-tab-layout-webview-cant-scroll-up

@grandleaf Thanks for your suggestion! We will add it to our plan. You are also welcome to submit a PR for it. You just need to add a property in the WebViewState and update it on each platform.


Upgrade Protractor to the latest stable version

We're currently using Protractor 0.24.0. We should upgrade to the latest stable version.
Benefits:

Usage of any new features they've provided
New contributors will have less of a learning curve (since tests now don't necessarily match online examples of using Protractor).

May be useful to do this alongside #97.

I'm busy until midweek next week, but if no one has submitted a PR by then I can tackle this.

Making progress in this branch: https://github.com/DrewML/ng-inspector/tree/protractorUpgrade
Most of the upgrade was pretty straight-forward, but I'm dealing with an issue right now with failing assertions in the collapse-expand test. Hopefully I'll have it figured out soon

Issues figured out. PR submitted with upgrade

@rev087 Can you close this issue?


Are there any plans to add git-subrepo support to PoSh-Git?

System Details

posh-git version/path: 0.7.1  C:\Program Files\WindowsPowerShell\Modules\posh-git\0.7.1
PowerShell version: 5.1.16299.251
git version 2.15.1.windows.2
OS: Microsoft Windows NT 10.0.16299.0

Issue Description
Are there any plans to add git-subrepo support to PoSh-Git?

We have no specific plans, but we'd be glad to accept a PR that adds whatever support makes sense. Let us know if you decide to tackle this, or if you have any questions

Sorry, but I'm running so many open source projects in parallel to my normal job that I can't dig into another architecture and set of source files to understand and extend it.
As far as I have heard and read about subrepo it shall be easier in handling compared to submodule but offers the same functionality. If this is true, I suspect many users may change from submodule (which is supported) to subrepo.

That's fine, if it's important to someone I hope they'll contribute.


[auto-merge] branch-22.04 to branch-22.06 [skip ci] [bot]

auto-merge triggered by github actions on branch-22.04 to create a PR keeping branch-22.06 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

FAILURE - Unable to auto-merge. Manual operation is required.
{'message': 'Pull Request is not mergeable', 'documentation_url': 'https://docs.github.com/rest/reference/pulls#merge-a-pull-request'}

Please use the following steps to fix the merge conflicts manually:
# Assume upstream is NVIDIA/spark-rapids remote
git fetch upstream branch-22.04 branch-22.06
git checkout -b fix-auto-merge-conflict-5166 upstream/branch-22.06
git merge upstream/branch-22.04
# Fix any merge conflicts caused by this merge
git commit -am "Merge branch-22.04 into branch-22.06"
git push <personal fork> fix-auto-merge-conflict-5166
# Open a PR targets NVIDIA/spark-rapids branch-22.06

IMPORTANT: Before merging this PR, be sure to change the merging strategy to Create a merge commit (repo admin only).
Once this PR is merged, the auto-merge PR should automatically be closed since it contains the same commit hashes

@tgravescs can you help take a look at
sql-plugin/src/main/320+/scala/com/nvidia/spark/rapids/shims/Spark320PlusShims.scala
conflict here? thanks!


regen gapics

(not sure if there's a better/more standard commit message?)

Shoot, this is out of date. Re-doing.


switch from ssl_options to ssl_context

This change give us more control when the keys are gonna be loaded, and the passphrses would be asked.
we need to make sure it happen before we start the cqlsh interpeter, and this one the passphrase is being asked from the user only once, and not multiple times on every socket being opened.
Fixes: #46

Do we have tests for cqlsh with TLS?

Do we have tests for cqlsh with TLS?

No in this repo
It might be easier to achieve in dtest
In SCT we are using it with TLS, in cases we run with client encryption
Testing with the passphrase might be tricky, in less we'll add a way to pass it via the command line.

Do we have tests for cqlsh with TLS?

We'll start with the tests for it in dtest, and then we'll merge this into scylla core
https://github.com/scylladb/scylla-dtest/pull/3548

tests to cover this change are available now in dtest


"method backtrace is not a member of trait StdError"

In recent nightly std, the trait std::error::Error doesn't contain method backtrace, which makes anyhow fail to compile. Actually the rust-analyzer complains.

Since you mentioned rust-analyzer, I'm guessing this is a duplicate of #250.

Not exactly. It reports different error:
[ERROR rust_analyzer::lsp_utils] failed to run build scripts

error[E0407]: method `backtrace` is not a member of trait `StdError`
   --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\context.rs:127:5
    |
127 | /     fn backtrace(&self) -> Option<&Backtrace> {
128 | |         self.error.backtrace()
129 | |     }
    | |_____^ not a member of trait `StdError`

error[E0407]: method `backtrace` is not a member of trait `StdError`
   --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\context.rs:141:5
    |
141 | /     fn backtrace(&self) -> Option<&Backtrace> {
142 | |         Some(self.error.backtrace())
143 | |     }
    | |_____^ not a member of trait `StdError`

error[E0407]: method `backtrace` is not a member of trait `StdError`
   --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\error.rs:907:5
    |
907 | /     fn backtrace(&self) -> Option<&Backtrace> {
908 | |         Some(unsafe { ErrorImpl::backtrace(self.erase()) })
909 | |     }
    | |_____^ not a member of trait `StdError`

error[E0407]: method `backtrace` is not a member of trait `StdError`
  --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\wrapper.rs:71:5
   |
71 | /     fn backtrace(&self) -> Option<&crate::backtrace::Backtrace> {
72 | |         self.0.backtrace()
73 | |     }
   | |_____^ not a member of trait `StdError`

error[E0599]: no method named `backtrace` found for type parameter `E` in the current scope
  --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\backtrace.rs:41:20
   |
41 |         match $err.backtrace() {
   |                    ^^^^^^^^^ method not found in `E`
   |
  ::: C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\context.rs:19:10
   |
19 |     impl<E> StdError for E
   |          - method `backtrace` not found for this type parameter
...
27 |             let backtrace = backtrace_if_absent!(self);
   |                             -------------------------- in this macro invocation
   |
   = note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named `backtrace` found for type parameter `E` in the current scope
   --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\context.rs:128:20
    |
121 | impl<C, E> StdError for ContextError<C, E>
    |         - method `backtrace` not found for this type parameter
...
128 |         self.error.backtrace()
    |                    ^^^^^^^^^ method not found in `E`

error[E0599]: no method named `backtrace` found for type parameter `E` in the current scope
  --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\backtrace.rs:41:20
   |
41 |         match $err.backtrace() {
   |                    ^^^^^^^^^ method not found in `E`
   |
  ::: C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\error.rs:30:16
   |
30 |     pub fn new<E>(error: E) -> Self
   |                - method `backtrace` not found for this type parameter
...
34 |         let backtrace = backtrace_if_absent!(error);
   |                         --------------------------- in this macro invocation
   |
   = note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named `backtrace` found for type parameter `E` in the current scope
   --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\backtrace.rs:41:20
    |
41  |         match $err.backtrace() {
    |                    ^^^^^^^^^ method not found in `E`
    |
   ::: C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\error.rs:527:6
    |
527 | impl<E> From<E> for Error
    |      - method `backtrace` not found for this type parameter
...
533 |         let backtrace = backtrace_if_absent!(error);
    |                         --------------------------- in this macro invocation
    |
    = note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named `backtrace` found for reference `&(dyn std::error::Error + Send + Sync + 'static)` in the current scope
   --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\error.rs:889:42
    |
889 |                 return Self::error(this).backtrace();
    |                                          ^^^^^^^^^ method not found in `&(dyn std::error::Error + Send + Sync + 'static)`

error[E0599]: no method named `backtrace` found for struct `Box<(dyn std::error::Error + Send + Sync + 'static)>` in the current scope
   --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\backtrace.rs:41:20
    |
41  |         match $err.backtrace() {
    |                    ^^^^^^^^^ method not found in `Box<(dyn std::error::Error + Send + Sync + 'static)>`
    |
   ::: C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\kind.rs:113:25
    |
113 |         let backtrace = backtrace_if_absent!(error);
    |                         --------------------------- in this macro invocation
    |
    = note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no method named `backtrace` found for struct `Box<(dyn std::error::Error + Send + Sync + 'static)>` in the current scope
  --> C:\Users\Straw\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.61\src\wrapper.rs:72:16
   |
72 |         self.0.backtrace()
   |                ^^^^^^^^^ method not found in `Box<(dyn std::error::Error + Send + Sync + 'static)>`

error: aborting due to 11 previous errors

Some errors have detailed explanations: E0407, E0599.

For more information about an error, try `rustc --explain E0407`.

error: could not compile `anyhow` due to 12 previous errors

I think you need to write a backtrace() like this:
https://github.com/rust-lang/rust/blob/187654481fd828e495919295369d33827f10e1c4/library/std/src/error.rs#L1543

I still think it's the same issue. Rust-analyzer's RUSTC_WRAPPER improperly returns a success exit code on all compiler invocations, even where building should fail. This is https://github.com/rust-lang/rust-analyzer/issues/12973. The exact output you get after this happens depends on whether the toolchain is stable or nightly, but that isn't the cause of the failure.

If it's the same issue, doing a cargo build outside of rust-analyzer should succeed.

You're right, cargo build succeeded.


Standarize Event Data for mint and burn interest

Standarize Event Data for mint and burn interest

Read our Contributor Guidelines and README.
reference how it was done fore Zklend you can find it here
In nostra.py  in class NostraDataParser finish next methods:

parse_interest_bearing_collateral_mint_event
parse_interest_bearing_collateral_burn_event

Your task is Create serializer for each even data for those methods which you can find here:

process_interest_bearing_collateral_mint_event
process_interest_bearing_collateral_burn_event

Don't forget to update process_interest_bearing_collateral_mint_event and process_interest_bearing_collateral_burn_event using your serializing models

@lukaspetrasek please, I would like to take this task. This is my first time contributing, I love orange

@lukaspetrasek
I would like to take this task, I love orange.
Even though I am a first time contributorI am familiar with Python programming and problem solving. I am ready to begin as soon as the task is assigned and aim to complete it within a reasonable timeframe, depending on its complexity.

I would like to take this task, I love orange. I can get this done within 48 Hours.
To actualise this task I'll leverage my knowlegde of data analysis and object oriented programming.

Hello @djeck1432 can i please be assigned to this issue . This would be my first contributing
I love oranges.

   That’s not good. I see you give people issue but other maintainer do not give people so I come here and apply. It ok if you do not give me issue because you a maintainer so your choice, but don’t say Mè suspicious because me choose private.

Could I grab this task? My profile onlydust https://app.onlydust.com/u/MrRoudyk

Can i work on this task? This is my first time contributing to this repo, I love orange.

Is it okay if I tackle this?

May I take care of this? I love orange.

Is it okay if I take this?

I would like to take this task, I love orange. I am a new contributor

I would like to take this task, I love orange. I am a new contributor

I would like to take this task, I love orange. I am a new contributor

I would like to take this task, I love orange. I am a new contributor

I would like to take this task, I love orange. I am a new contributor

I would like to take this task, I love orange. I am a new contributor

I would like to take this task, I love orange
I’m interested in this one.

@Benjtalkshow  please, DO NOT SPAM, it's for new comers,

I would like to take this task, I love orange. I am a new contributor

@MrRoudyk you were unassigned, you didn't create draft PR with your work(empty PR doesn't count)


Allow finetune parameters for each statefulsets

🤖 Generated by Copilot at 48a5556
This pull request improves the customizability and usability of the GraphScope Store Helm chart by using more specific values for different pod settings in the statefulset.yaml files of each component. It also fixes some minor typos in the values.yaml file, the NOTES.txt file, and the IngestProcessor and BatchSender classes.

Codecov Report

Merging #2625 (5cc0e2f) into main (f6be39b) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #2625   +/-   ##
=======================================
  Coverage   41.43%   41.43%
=======================================
  Files          99       99
  Lines       10273    10273
=======================================
  Hits         4257     4257
  Misses       6016     6016

Continue to review full report in Codecov by Sentry.

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


Does not install on macOS

It appears this application is shown as working on macOS. However, it will not install.

Could instructions for macOS please be provided if this is a supported platform?

Can you give details on your environment (OS, npm, and node versions)? Our CI run tests on macos-latest (which is [documented[(https://github.com/actions/virtual-environments) as macOS 10.5) with npm v14, 15, 16.

I am using a new Apple Silicon iMac with fresh Xcode, brew, node and NPM.
❯ node --version
v16.3.0
npm --version
7.18.1

It appears the CI tests are only using the old Intel processor.
Root cause appears to be here https://github.com/Automattic/node-canvas/issues/1733

Thanks for the info. If the issue is with a dependency, we'll have to wait for them to fix the package. Meanwhile, can you run the package from docker? Or perhaps use the online portals?

Thank you, the online portal is very helpful for me to see what was going on. This fully addresses what I was looking for.
I have been working on a competing blockchain-based project, https://genobank.io/certificates/, and wanted to see how SMART Health Cards works. Looks great!

Let's keep this issue open until we get the SDK working on Apple M1; we might ping you again for a quick test once the canvas dependency has been fixed.

Sounds good

I got access to a Mac Mini with a M1 processor; I can confirm I see the same error (with Darwin Kernel Version 20.5.0, npm v7.19.1, Node.js v16.5.0).

The issue of failed canvas compilation should no longer occur as the canvas package has been replaced in the project.
Scanning the package-lock.json file shows an optional peer-dependency still exists within the jdom package (a dependency of Jest) - it appears jsdom will use canvas, if installed, but will not install it as a dependency.


slack notifier in SlackJobProperty or pipeline syntax is missing

Just installed v2.4 and I cannot configure slack notifier via UI or pipeline 😭
Jenkins version: 2.138.3

Oh so Slack notifier is only supported on abstract build, I'll see what I can do to get it working for pipeline and multibranch pipeline jobs 😅

I think the best thing to do is actually to un deprecate the JobProperty.
Since having the configuration on folder level is nice when we are talking multi branch.
But it would also be nice to have slack notifier available in pipeline, so you can configure it inside a shared pipeline library.
See how it can be used in office 365 connector plugin: https://github.com/jenkinsci/office-365-connector-plugin/tree/master/src/main/java/jenkins/plugins/office365connector

If it makes sense then reintroduce it, I didn't deprecate it and don't know the history


MongoStore recode

Sever.js code needs to be updated to work with the current MongoStore version.
Reference docs and GitHub for necessary updates.

This issue was addressed today however, I will keep this issue open until I'm certain Mongoose issues are fully tracked down.

Tested again without issues, now calling this issue closed.


Fix bug where autoequip deletes stackable items

Description:
If you have a stack of items equipped to an equipment slot, then run autoequip on the same slot, autoequip deletes the entire stack (except 1) if you have the same item stack type equipped as autoequip would also equip.
Changes:
If toRemoveFromGear exists in toRemoveFromBank, then instead of deleting the entire stack, only delete 1 if toRemoveFromGear(itemID) > 1
Other checks:

[x] I have tested all my changes thoroughly.

Fixes 3248

we really need a test for this!


enhancement(mis-web): 导入用户的用户和账户表格改成Tab

之前用户和账户表格放在一个页面，现在放在tabs中，方便查看

Codecov Report
Base: 65.38% // Head: 65.38% // No change to project coverage :thumbsup:

Coverage data is based on head (49ef089) compared to base (7c760b7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #289   +/-   ##
=======================================
  Coverage   65.38%   65.38%
=======================================
  Files          98       98
  Lines        2713     2713
  Branches      334      334
=======================================
  Hits         1774     1774
  Misses        897      897
  Partials       42       42

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


throttled assumes battery on Desktops (ThinkCentre M920s)

[I] Detected CPU architecture: Intel Kaby Lake (R)
[I] Loading config file.
[W] No valid Sysfs_Power_Path found! Trying upower method #1
[W] Trying upower method #2
[W] No valid power detection methods found. Assuming that the system is running on battery power.
[I] Starting main loop.

This can not be optimal I guess ?

For now I just hacked:
-- a/lenovo_fix.py	2020-12-15 09:43:38.629180943 +0100
+++ b/lenovo_fix.py	2020-12-15 15:15:03.759219800 +0100
@@ -208,8 +208,9 @@
     except:
         pass

-    warning('No valid power detection methods found. Assuming that the system is running on battery power.')
-    return True
+    warning('No valid power detection methods found. Assuming that the system is running on AC power.')
+#    return True
+    return False

 def get_cpu_platform_info():
@@ -606,7 +607,10 @@
         # set cTDP
         if 'MSR_CONFIG_TDP_CONTROL' in regs[power['source']]:
             write_value = regs[power['source']]['MSR_CONFIG_TDP_CONTROL']
-            writemsr(0x64B, write_value)
+            try:
+                writemsr(0x64B, write_value)
+            except  IOError:
+                pass
             if args.debug:
                 read_value = readmsr(0x64B, 0, 1, flatten=True)
                 match = OK if write_value == read_value else ERR

I cannot write the cTDP value either


Banana Cake Pop problem with various fonts over https

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Various fonts fail to load in my browser, the font falls back to a lighter font of the same family.  The actual font looks to have downloaded so this is quite strange.  This is not a problem when running locally over http and localhost, it only appears once I release to my pre production environment.
Potentially this could be an issue with my environment setup but I don't see how.
Steps to reproduce

Launch Banana Cake Pop over https.

Relevant log output
Failed to decode downloaded font: https://api.#########.com/graphql/static/media/FiraCode-Medium.eb8dedc4.woff2
Failed to decode downloaded font: https://########api.#########.com/graphql/static/media/FiraCode-Medium.edb17cd0.woff
Failed to decode downloaded font: https://api.#########.com/graphql/static/media/codicon.74d8acf8.ttf
OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
OTS parsing error: incorrect file size in WOFF header
OTS parsing error: 0GS: misaligned table

Additional Context?
No response
Product
Hot Chocolate
Version
12.0.0

How are you hosting your application in this staging environment? I remember running into a similar issue with IIS not being able to serve woff2 font files per default. I had to add a web.config file and add some font mime types manually. If you are using IIS this might be worth looking into.

Apologies, Im almost certain this must be an APIGateway issue.  I havent solved it yet but its most likely to do with serving binary files / media type configuration.  Thus I will close this but still update it with the solution once i have it.


add hotkey-eve

The token reference must be followed, to avoid duplicates.
This cask does not follow it, and is indeed a duplicate.

Thank you, @vitorgalvao. Good catch!

Why simply close it?

Because this cask already exists.

sorry, I thought this "EVE" is the game.


Update free-courses-en.md

What does this PR do?
Adding a free ansible course in English
Description
Introduction to Ansible Course
Why is this valuable (or not)?
I personally took this course when I was starting out with Ansible
How do we know it's really free?
It is available on youtube for free
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Thanks, and welcome to free-programming-books!


chore(release): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-10-29)
⚠ BREAKING CHANGES

Bump minimum Python version to 3.9

Features

Add OPUS mp4 support (#143) (2f38022)
Bump minimum Python version to 3.9 (6a42f38)
cloud: Add cloud delete support (#164) (aa1f4e7)
cloud: Upload through HTTP proxy node (#103) (20c2704), closes #47
Expand binary platforms and hardware encoding (#161) (0c4b529)

Bug Fixes

cloud: Avoid rate limit issues on live streams (#162) (1231502)
cloud: Fix write failures from Packager (#167) (791e39f)
cloud: Quiet the HTTP server log (#163) (4170d21)
cloud: Retry on all failures (#165) (7bb46d4)
Fix frame-rate and resolution auto-detection edge case (#129) (f42188e), closes #127
Fix framerate autodetection edge case (#128) (aacabdc), closes #127
Fix typing of log_request (#166) (c38d7e9)
only use the first line of ffprobe's output (#120) (4d7d077), closes #119

Documentation

Update cloud upload docs (#168) (fddf413)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.0
:sunflower:


Convert host application info to a struct

The KeyboardKit Pro host application information is currently implemented as an enum, which requires the type to spread out its information in multiple properties.
We should explore converting this to a struct instead, even if that means we need a list of "all" apps, since the struct won't have a built-in iteration. Or we could have an enum that returns a struct.

This has been implemented in the v9 branch.


Problem with UI

The chat bubbles are not visible and appear kind of blurry. Also how to change the mic icon as well the bot pics?

Hello @Jace-Joji
You can customize the chat bubble with the parameters botChatBubbleColor and userChatBubbleColor for the bubble colors, and for the text within the bubble, you can use botChatBubbleTextColor and userChatBubbleTextColor. Here's a concrete example:
FlutterGeminiChat(
       botChatBubbleColor: Colors.green
       userChatBubbleColor: Colors.blue,
       botChatBubbleTextColor: Colors.white
       userChatBubbleTextColor: Colors.white
        chatContext: 'you are a frontend app developer',
        chatList: chatList,
        apiKey: apiKey,
      ),

Regarding the bot icon, we will make it customizable for the next version.

this doesn't fix it


UI issue

Create more better user interface

hey!!
Can you provide more information about which interface to be enhanced ??


#3765 [fix]  content is out of order in PDF

Signed-off-by: thendarion<EMAIL_ADDRESS>Description
fixes #3765
How Has This Been Tested?
unit test

hmm... apparently the XSpec in oXygen and the XSpec in Gradle disagree about which things are missing and which aren't, but that shouldn't be too hard to fix

this XSpec implementation took a while to satisfy. I hope GitHub lets us squash these commits into one :D


Change JSON response attribute name

Description
Change JSON response attribute name
Fixes #193
Type of change

REST API change

Testing steps
Done on CI

Codecov Report

Merging #203 (e828746) into master (8300b11) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #203   +/-   ##
======================================
  Coverage    2.08%   2.08%
======================================
  Files          12      12
  Lines         527     527
======================================
  Hits           11      11
  Misses        516     516

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 8300b11...e828746. Read the comment docs.


Is it possible to use your plugin in Ionic project (capacitor)?

Hi, how are you? I have an Ionic project (capacitor 3) and I've been searching for a plugin which has all the listeners available and also commands (for example, the getParticipantsInfo) and I ended up here... So, do you know if it's possible do import to my project and how I could do it? Or would it be better to create another ionic project using cordova (I don't know if changes anything)...
Thank you in advance,
Thiago.

Hello.
Capacitor is a different framework from Cordova and then is not possible to use cordova plugins like this one.
About creating another ionic project with cordova is up to you but keep in mind you could meet some difficult because plugins are different.
As an alternative if you can handle a bit of native android/ios development you could with a little effort fork and convert this plugin into one with capacitor compatibility.
Inviato dal mio Galaxy
-------- Messaggio originale --------
Da: Thiago Gonçalves Prudêncio @.>
Data: 10/08/22 19:11 (GMT+01:00)
A: Zeno97/cordova-plugin-jitsi-meet-sdk @.>
Cc: Subscribed @.***>
Oggetto: [Zeno97/cordova-plugin-jitsi-meet-sdk] Is it possible to use your plugin in Ionic project (capacitor)? (Issue #23)
Hi, how are you? I have a ionic project (capacitor 3) and I've been searching for a plugin which has all the listeners available and also commands (for example, the getParticipantsInfo) and I ended up here... So, do you know if it's possible do import to my project and how I could do it? Or would it be better to create another ionic project using cordova (I don't know if changes anything)...
Thank you in advance,
Thiago.
—
Reply to this email directly, view it on GitHubhttps://github.com/Zeno97/cordova-plugin-jitsi-meet-sdk/issues/23, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKABCKE6VDYKQDYZV5FPZJ3VYPPDVANCNFSM56FJBAKQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi, thank you for the repsonse...
So the best option would be importing your plugin in native project app? Or would it work if I use something else? like React Native?
I'm trying to find the best approach to test and use your plugin because I've never created/changed any plugin to import in my projects, so I don't know where I could start from...
Thank you once again

Hello @Zeno97, how are you?
I created an Ionic project using cordova this time to test your plugin, but I still didn't succeeded it... I could install it and I see the folders created by it, which seems quite fine, but I still can't import it to my project... is there any step I'm missing? I'm really looking forward to make it work
Thank you in advance

No. What i was suggesting is to CREATE A PLUGIN for Capacitor using this one as a basis.
Cordova plugin has a javascript file with the methods you call inside (startCall, disposeCall,) and also .java and .h/.m files where native implementation is.
Basically when you use a javascript method for a plugin everything starts from JitsiMeet.java when you are in android and CDVJitsimeet.m in ios (look at src folder).
Almost the same is for capacitor. Look at the documentation about Cordova plugin development and Capacitor plugin development. You will see it.
Inviato dal mio Galaxy
-------- Messaggio originale --------
Da: Thiago Gonçalves Prudêncio @.>
Data: 10/08/22 19:35 (GMT+01:00)
A: Zeno97/cordova-plugin-jitsi-meet-sdk @.>
Cc: Massimiliano Coppola @.>, Comment @.>
Oggetto: Re: [Zeno97/cordova-plugin-jitsi-meet-sdk] Is it possible to use your plugin in Ionic project (capacitor)? (Issue #23)
Hi, thank you for the repsonse...
So the best option would be importing your plugin in native project app? Or would it work if I use something else? like React Native?
I'm trying to find the best approach to test and use your plugin because I've never created/changed any plugin to import in my projects, so I don't know where I could start from...
Thank you once again
—
Reply to this email directly, view it on GitHubhttps://github.com/Zeno97/cordova-plugin-jitsi-meet-sdk/issues/23#issuecomment-1211035690, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKABCKBXXJUQ425RAZKQ7Y3VYPR6JANCNFSM56FJBAKQ.
You are receiving this because you commented.Message ID: @.***>

Oh, I see, thank you for the reply. I'll work on that.


Need a way to specify properties like retention.ms which must be Long and not a String

In what version(s) of Spring for Apache Kafka are you seeing this issue?
2.8.2 and Prior
Describe the bug
When attempting to use NewTopic to configure properties like retention.ms, the API currently only allows those properties to be strings:
    return TopicBuilder.name(topicName)
        .partitions(partitions)
        .configs(
            Map.of(TOPIC_RETENTION_MS, retentionMs)) // map here is String, String
        .build();

However, retention.ms is a Long type and Kafka will error out when trying to set it this way:
org.apache.kafka.common.errors.InvalidConfigurationException: Invalid value '86400000' for configuration retention.ms: Not a number of type LONG

(I was trying to set it to 1 day retention)
To Reproduce
Steps to reproduce the behavior.

Configure topic as above

Expected behavior

Either the data type is inferred by the property, or there's a way to accept a Map<String, Object> for data types.

The TopicBuilder in the end delegates to org.apache.kafka.clients.admin.NewTopic:
topic.configs(this.configs);

and that one is like this:
    /**
     * Set the configuration to use on the new topic.
     *
     * @param configs               The configuration map.
     * @return                      This NewTopic object.
     */
    public NewTopic configs(Map<String, String> configs) {

So, nothing what we can do here in Spring until Apache Kafka client solves that for all of us.
Please, consider to raise this concern against Apache Kafka itself.


Release aidbox-sdc as aidbox app wrapped with docker container

Looks like it's not relevant anymore because it's done


Dynamic image serve view’s signature check is vulnerable to timing attacks

Issue Summary
The Dynamic image serve view is a way to dynamically generate image renditions by providing an image id and a rendition format string (e.g. fill-100x100). Renditions can be computationally expensive to create, and take up disk space, so this API endpoint is protected with a signature check to prevent abuse – however the implementation is vulnerable to a timing attack, due to not using a constant-time comparison function:
https://github.com/wagtail/wagtail/blob/301d1bc7f52fffc18b8cb34fbde01633bc1599ee/wagtail/images/views/serve.py#L37
The implications are that:

An attacker can try to overwhelm the server by relying on a timing attack to bypass this check and create arbitrary renditions.
An attacker can use the fact that images are queried by id to list all of the site’s images. This is because ids are numerical, auto-incremented, so you can just query id 1, 2, 3, etc.

Steps to Reproduce
I’ve only investigated this by looking at the code. If someone wanted to try this out, they’d need to make a timing attack on a site that has this view set up (it’s opt-in).

Security implications & solution
Point 1. feels rather hypothetical – by nature timing attacks on the web rely on making a high number of requests, which already have DoS potential on their own, without having to create any renditions. Creating renditions consumes disk space – this might be more problematic, but feels relatively far-fetched.
The second "enumeration vulnerability" point feels more concerning, but talking to @gasman we agreed that Wagtail doesn’t make particular guarantees that images are private (accessing an image is just a matter of "guessing" its public URL), so this doesn’t feel like it’s worth handling as a security vulnerability – hence why I made this public issue.
The fix for both of those issues is to use a constant-time comparison function, like https://github.com/wagtail/wagtail/commit/3c030490ed575bb9cd01dfb3a890477dcaeb2edf did for password-protected pages with Django’s constant_time_compare.

Because image signatures are verified before requesting the image, an attacker doesn't know whether the signature is invalid because the signature is invalid or because the image id is invalid. They'd need a valid signature to enumerate files with this view, after which all bets are off security wise.
A potential belt-and-braces approach to this would be to make "unknown image" and "invalid signature" responses look the same.
The timing issue is fixed in #10589.


data-attributes

With the issue #5 (PR #6) we can use any attribute, including data-attribute:
  mount(Button, {
    attributes: {
      'data-this-is-a-data-attribute': true,
    },
  });

But to facilitate, we could have also a dataAttribute parameter:
  mount(Button, {
    dataAttributes: {
      thisIsADataAttribute: true,
    },
  });

To achieve this we could have a simple function like this:
function __pwUpdateDataAttributes(webComponent, dataAttributes = {}) {
  Object.assign(webComponent.dataset, dataAttributes)
}

Thank you for creating the issue! Could you tell a bit more about why this is useful for testing?

sorry for the late reply
This is just a nice to have, like I said in the description, with the support for attributes on #6 we can use pass data attributes, but would be easy to use this way, because instead of writing the name of the data attribute with - and therefore the need for using a string, like this:
mount(Button, {
    attributes: {
      'data-attribute-name': true,
    },
  });

you would be able to pass a camel case name (and therefore, without being a string), like this:
mount(Button, {
  dataAttributes: {
    attributeName: true,
  },
});

This is just a nice to have

I don't see how the behaviour of the component is tested with dataAttributes. I'm hesitant to add this because i don't want to deviate from Playwright's API unless there is a good reason.

Closed due to inactivity, feel free to create a new ticket whenever needed


BitBarDistro? too many issues on screen HELP!!!! there is no way to a setup this thing...

I have BitBarDistro installed for my Pi-Hole, but there is (for me) no way to get it working correctly.
like a Big irritating menubar. is there enyone who can help me solve this or help me how to remove BitBarDistro.

TIA

Please check in Activity Monitor.app if you have multiple instances of BitBar or BitBarDistro running. You can quit them from there. If so, please make sure you don't have multiple copies of BitBar in different locations set to launch at login (under System Preferences -> Users).
It looks like your pluginsDirectory default is set to a folder with many scripts (a clone of the plugins repo?). Please consider creating an Enabled folder and linking the plugins you want to use there.
Check out the documention for the distributable version Docs/DistributingBitBar.md.

thanks it works perfectly now!!!


[BUG-1664] Resolve Meshery logo spacing and alignment issue

Remove extra margin, padding, and add align-items property.
Description
This PR fixes #1664
Notes for Reviewers
Signed commits

[X] Yes, I signed my commits.

Thanks for jumping in here, @Muhammed-Moinuddin 👍

Hey @Muhammed-Moinuddin Please make the suggested changes and we are good to go.

@Muhammed-Moinuddin any updates? Seems you have reverted everything.

@Muhammed-Moinuddin any updates? Seems it has been fixed by #1681. You can close the PR.
Noted. I wasn't feeling well and didn't see it.


Support Mailbox/changes

https://jmap.io/spec-mail.html#mailboxchanges

Related pull request: https://github.com/OpenPaaS-Suite/jmap-client-ts/pull/37

I think I mistook Email and Mailbox changes issues. I renamed them, the correct name for this one is Support Email/changes

If possible, it would be nice to see some usage example. I did look in documentation, but it shows on abstract objects aka Foo, etc. Would be nice to see code example where this can be applied on email level.

If possible, it would be nice to see some usage example. I did look in documentation, but it shows on abstract objects aka Foo, etc. Would be nice to see code example where this can be applied on email level.

Do you mean some JMAP examples? Then you can look at James integration tests https://github.com/linagora/james-project/blob/master/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailChangesMethodContract.scala

Do you mean some JMAP examples? Then you can look at James integration tests https://github.com/linagora/james-project/blob/master/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailChangesMethodContract.scala

I was thinking more of a JSON example. What is being sent in request and what is coming back in response.


API token

An API token is required to make requests. How can I get an api token after deploying a server to access the server?

If tokens aren't specified in the server command arguments, you can use an arbitary token or no tokens at all. If specified, you should use any of the specified tokens.


Guide about guide writing (metadata to guides)

Hmmmm so it would probably be a good idea to maintain some metadata about who wrote the guides and maybe how to contact them, or information about the title, etc. that could be beneficial to gatsby

I somewhat enjoy how jekyll does it with blog posts, for example...
---
layout: post
title:  "Welcome to Jekyll!"
---

yee, gatsby does the same thing, because they ripped off jekyll. all guides should be markdown files with that in the top (gatsby calls that portion the frontmatter)

sweet, well I think we should just have like a markdown file explaining this spec for peeps to easily make guides

100% , that is a little part of #25  . I made a docs folder.
but, meta, we could also put that spec on the wiki itself if wanted lol

Hmmm good idea would be to have one property indicating publishing state of the guide so until it has state complete then don't publish

ya like an in draft - but if someone makes a PR, and that is merged, shouldnt that be considered complete?

maybe we should think of some guiding principles (pun intended) for how to write these guides first, and put that in a doc.
I am thinking

Brief
Easy to read
Unbiased
High Quality


Missing proxy_get_buffer_status() and proxy_get_header_map_size()

I'd like to see proxy_get_buffer_status(), e.g. https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/92f02c0001592199d99f946cea34637ff095a8ba/include/proxy-wasm/wasm_api_impl.h#L147
Also proxy_get_header_map_size() , e.g. https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/92f02c0001592199d99f946cea34637ff095a8ba/include/proxy-wasm/wasm_api_impl.h#L192
I use these when debugging new extensions.

https://github.com/tetratelabs/proxy-wasm-go-sdk/pull/451


Binds without mod

Hello! I would like to be able to add a bind without any mod. This is so I could bind stuff to my XF86Audio(Play/RaiseVolume/LowerVolume) keys without needing to press SUPER or any other mod to trigger it. Thanks!

Just don't put a mod key before the first comma. For example:
bind=,XF86AudioMedia,exec,playerctl play-pause

Ah that makes sense, I should've figured that out without asking. Cheers!


Map Packets out of order mysqlnd error in MySQL driver

Hey, I have long running application in production and I faced with an issue.
The setup is:

php:8.0.11-cli official docker image
mysql:8.0.26 official docker image
spiral/database:v2.9.2

Globally it is RoadRunner v1.9.2, Spiral Framework v2.8.13, Cycle ORM v1.6.1.
Every day (i assume after long time of alive connection without any query) first attempt to execute any query fails with an error Packets out of order. Expected 1 received 0. Packet size=145.
This is not a MySQL version but a mysqlnd error: https://github.com/php/php-src/blob/PHP-8.0.11/ext/mysqlnd/mysqlnd_protocol_frame_codec.c#L352
By MySQL driver this error mapped to a Spiral\Database\Exception\StatementException but actually it is not true, because second attempt to launch same query is successful.
So I assume this type of error should be mapped into Spiral\Database\Exception\StatementException\ConnectionException as it is related to a connection rather to a statement. I guess this allows driver to perform reconnecting once this error occurs.

Here is example of exception
[Spiral\Database\Exception\StatementException]
Packets out of order. Expected 1 received 0. Packet size=145in /app/vendor/spiral/database/src/Driver/MySQL/MySQLDriver.php:75

Exception Trace:
Spiral\Database\Driver\MySQL\MySQLDriver->mapException() at /app/vendor/spiral/database/src/Driver/MySQL/MySQLDriver.php:75
Spiral\Database\Driver\MySQL\MySQLDriver->mapException() at /app/vendor/spiral/database/src/Driver/Driver.php:561
Spiral\Database\Driver\Driver->statement() at /app/vendor/spiral/database/src/Driver/Driver.php:348
Spiral\Database\Driver\Driver->query() at /app/vendor/spiral/database/src/Query/SelectQuery.php:288
Spiral\Database\Query\SelectQuery->run() at /app/vendor/cycle/orm/src/Select/RootLoader.php:112
Cycle\ORM\Select\RootLoader->loadData() at /app/vendor/cycle/orm/src/Select.php:430
Cycle\ORM\Select->fetchData() at /app/vendor/cycle/orm/src/Select.php:387
Cycle\ORM\Select->fetchOne() at /app/vendor/cycle/orm/src/Select/Repository.php:48
Cycle\ORM\Select\Repository->findByPK() at /app/app/src/Repository/UserRepository.php:26
App\Repository\UserRepository->getActor() at /app/vendor/spiral/framework/src/Framework/Bootloader/Auth/AuthBootloader.php:65
Spiral\Bootloader\Auth\AuthBootloader->getActor() at /app/vendor/spiral/framework/src/Auth/src/AuthContext.php:76
Spiral\Auth\AuthContext->getActor() at /app/app/src/Controller/Auth/RefreshController.php:31
App\Controller\Auth\RefreshController->refresh() at n/a:n/a
ReflectionMethod->invokeArgs() at /app/vendor/spiral/framework/src/Hmvc/src/AbstractCore.php:82
Spiral\Core\AbstractCore->Spiral\Core\{closure}() at /app/vendor/spiral/framework/src/Core/src/ContainerScope.php:50
Spiral\Core\ContainerScope::runScope() at /app/vendor/spiral/framework/src/Hmvc/src/AbstractCore.php:83
Spiral\Core\AbstractCore->callAction() at /app/vendor/spiral/framework/src/Router/src/CoreHandler.php:128
Spiral\Router\CoreHandler->Spiral\Router\{closure}() at /app/vendor/spiral/framework/src/Core/src/Container.php:268
Spiral\Core\Container->runScope() at /app/vendor/spiral/framework/src/Router/src/CoreHandler.php:130
Spiral\Router\CoreHandler->handle() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:86
Spiral\Http\Pipeline->Spiral\Http\{closure}() at /app/vendor/spiral/framework/src/Core/src/Container.php:268
Spiral\Core\Container->runScope() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:87
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:68
Spiral\Http\Pipeline->process() at /app/vendor/spiral/framework/src/Router/src/Route.php:123
Spiral\Router\Route->handle() at /app/vendor/spiral/framework/src/Router/src/Router.php:86
Spiral\Router\Router->handle() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:86
Spiral\Http\Pipeline->Spiral\Http\{closure}() at /app/vendor/spiral/framework/src/Core/src/Container.php:268
Spiral\Core\Container->runScope() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:87
Spiral\Http\Pipeline->handle() at /app/app/src/Middleware/LocaleSelector.php:47
App\Middleware\LocaleSelector->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/AuthHttp/src/Middleware/AuthMiddleware.php:78
Spiral\Auth\Middleware\AuthMiddleware::Spiral\Auth\Middleware\{closure}() at /app/vendor/spiral/framework/src/Core/src/Container.php:268
Spiral\Core\Container->runScope() at /app/vendor/spiral/framework/src/AuthHttp/src/Middleware/AuthMiddleware.php:79
Spiral\Auth\Middleware\AuthMiddleware->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Framework/Debug/StateCollector/HttpCollector.php:34
Spiral\Debug\StateCollector\HttpCollector->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Csrf/src/Middleware/CsrfMiddleware.php:60
Spiral\Csrf\Middleware\CsrfMiddleware->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Framework/Session/Middleware/SessionMiddleware.php:86
Spiral\Session\Middleware\SessionMiddleware->Spiral\Session\Middleware\{closure}() at /app/vendor/spiral/framework/src/Core/src/Container.php:268
Spiral\Core\Container->runScope() at /app/vendor/spiral/framework/src/Framework/Session/Middleware/SessionMiddleware.php:87
Spiral\Session\Middleware\SessionMiddleware->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Cookies/src/Middleware/CookiesMiddleware.php:60
Spiral\Cookies\Middleware\CookiesMiddleware->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Framework/Http/Middleware/JsonPayloadMiddleware.php:56
Spiral\Http\Middleware\JsonPayloadMiddleware->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Framework/Http/Middleware/ErrorHandlerMiddleware.php:78
Spiral\Http\Middleware\ErrorHandlerMiddleware->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/app/src/Middleware/CorsMiddleware.php:39
App\Middleware\CorsMiddleware->process() at /app/vendor/spiral/framework/src/Http/src/Pipeline.php:82
Spiral\Http\Pipeline->handle() at /app/vendor/spiral/framework/src/Http/src/Http.php:100
Spiral\Http\Http->handle() at /app/vendor/spiral/framework/src/Framework/Http/LegacyRrDispatcher.php:80
Spiral\Http\LegacyRrDispatcher->serve() at /app/vendor/spiral/framework/src/Core/src/ContainerScope.php:50
Spiral\Core\ContainerScope::runScope() at /app/vendor/spiral/framework/src/Core/src/Container.php:265
Spiral\Core\Container->runScope() at /app/vendor/spiral/framework/src/Boot/src/AbstractKernel.php:104
Spiral\Boot\AbstractKernel->serve() at /app/app.php:14

Please, let me know if need to raise same PR into cycle/database.


Optimize event ids by splitting them up by server/client and reliable/unreliable

Currently, all events and functions share event ids in the same pool. This is unnecessary and optimizing it will allow for more events/functions before needing to increase the bytes required for the event id.
To give an example, reliable events and functions are never sent through the unreliable remote. This means we can have separate pools of ids for reliable and unreliable.

Event ids used to start at 1 instead of 0. I'm not sure why this was the case, let me know if I'm missing something!


spark query parallelization

This PR adds support for query paralelization using feed-range support in core sdk query api.
Prior to this PR only one spark task was spawned and query used to run on a single executor. Now we are parallelizing the work on multiple executors.
see bellow sample run (100 parallel spark tasks to execute the parallelized query.(1M RU Collection with 100 partitions, with restrictive spark partitioning)

other minor changes in this PR

the test container default throughput changed to have more than one physical Cosmos BE partition.
updated CosmosPartitionPlannerSpec.scala to use the number of partitions from the service rather than hardcoded 1
fixes broken test: PartitionMetadataSpec.scala
fixed a bug in ChangeFeedInputPartition to ensure when serialized over network, transient field ChangeFeedInputPartition.feedRange will get re-populated

TODO:
we are relying on the ChangeFeedInputPartition, CosmosPartitionPlanner and PartitionMetadataCache we should discuss if we need to rename ChangeFeedInputPartition or duplicate some of the code in the CosmosPartitionPlanner

Regarding the TODO above - I hope we can just rename the InputPartition to CosmosInputPartition and use that. I initially thought i needed to pass some state for start from settings, read limit etc. into the partition as well - but it looks like I can get away if I use the MicroBatch API as it is supposed to be used (in contrast to what we do in Spark connector current version)
I should have clarity on this by tomorrow hopefully or on Friday when I have an end-to-end scenario for streaming running


Is there any way to specify a client-wide timeout?

I'm using the pubsub client to interact with a pubsub topic via pull/publish on a local machine.
However, sometimes this machine loses connection to the internet.
I would love to set a timeout for all of my pull/publish calls, but I see no reasonable way of doing this.
This points to a larger issue of how you deal with timeouts and lost connection issues in general.
Is there any way to set a (PubSub)  client-wide timeout?

To comment a little more about the impact of this:
Not being about to set timeouts for things like pull, subscribe, subscription.close makes this library a no-go for any environment with a flaky internet connection. I don't see any apparent reasonable workaround.

Hi @tweeter0830,
We just released a new Pub/Sub library with a substantially different surface which does, in fact, let you configure this globally for the full client. This library is a full rewrite, though, so there will be some learning curve for you.
We also did not document in detail how to set this, because it is so rare. Essentially, you want to send the client_config keyword argument to the PublisherClient or SubscriberClient constructor. It takes a huge dictionary with, among other things, the timeout information. The defaults for PublisherClient are here and the defaults for SubscriberClient are here. I think it does a deep merge, so you only need to set what you want to override, but I am not 100% certain.

Thanks for the response. I've gone down this route and subscribe works the way I would like. However, with the following code, I end up with this uncatchable exception during a timeout. In the code below, "caught" will never get printed. Instead, publish blocks forever and I get the stack trace below.
    self._publisher = pubsub.PublisherClient(
        client_config=CONFIG,
        credentials=self._credentials)
    self._topic_name = 'projects/{project_id}/topics/{topic}'.format(
        project_id=self._project_id,
        topic=self._topic_id,
    )
    try:
      self._publisher.publish(
         self._topic_name, incident_proto.SerializeToString()).result()
    except Exception:
       print('caught')

Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "//local/lib/python2.7/site-packages/google/cloud/pubsub_v1/publisher/batch/thread.py", line 212, in monitor
    return self._commit()
  File "//local/lib/python2.7/site-packages/google/cloud/pubsub_v1/publisher/batch/thread.py", line 173, in _commit
    self.messages,
  File "//local/lib/python2.7/site-packages/google/cloud/gapic/pubsub/v1/publisher_client.py", line 314, in publish
    return self._publish(request, options)
  File "//lib/python2.7/site-packages/google/gax/api_callable.py", line 452, in inner
    return api_caller(api_call, this_settings, request)
  File "//lib/python2.7/site-packages/google/gax/api_callable.py", line 438, in base_caller
    return api_call(*args)
  File "//lib/python2.7/site-packages/google/gax/api_callable.py", line 376, in inner
    return a_func(*args, **kwargs)
  File "//lib/python2.7/site-packages/google/gax/retry.py", line 143, in inner
    raise exc
RetryError: RetryError(Retry total timeout exceeded with exception, caused by <_Rendezvous of RPC that terminated with (StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded)>)

The reason why the exception is not being caught is because it occurs in another thread, and unfortunately it is really hard to handle exceptions raised in threads. However, note that publish returns a future, and future.result() will raise the exception in the main thread, where it can be caught.

I see the same problem and I think it is the same issue as #4019. I currently get around it, by subclassing thread.Batch and overriding _commit and wrapping the entire call in a try catch that does future.set_exception. It doesn't feel right though, because it will cause all futures to fail in the batch.

Is this config only available for google.cloud.pubsub_v1.SubscriberClient and PublisherClient? I want to write a program that utilizes the pull method with a lower timeout limit, but overriding timeout with CallOptions doesn't seem to work. Here is an example snippet:
`from google.cloud.gapic.pubsub.v1 import subscriber_client
from google.gax import CallOptions
import os
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = file_location # modify here
subscription = sub # modify here
client = subscriber_client.SubscriberClient()
options = CallOptions(timeout=2)
while True:
print("LOOP")
messages = client.pull(subscription, max_messages=1000, options=options)
for message in messages.received_messages:
print(message.message.data)
`


Change Color in Command mode

I am using your theme in vim-airline-themes.
It's great but not seem to have the color for Command mode

Hi! Could you show me a screenshot indicating the missing styles?

Surely
Here are the styles of all mode
[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
But in Command mode, it will use the color of the current mode.
[image: image.png]
Normal mode
[image: image.png]
Visual mode
and is there any setup for Terminal mode yet
I am sorry if some parts of my explanation were unclear. I am new to Vim
and still have much to learn.
Vào Th 4, 19 thg 6, 2024 vào lúc 05:33 Gerard @.***>
đã viết:

Hi! Could you show me a screenshot indicating the missing styles?
—
Reply to this email directly, view it on GitHub
https://github.com/gerardbm/atomic/issues/1#issuecomment-2177199120, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXDSM6QXRDQ36H7Z2PLHFDLZICYUPAVCNFSM6AAAAABJQXZAZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXGE4TSMJSGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

By the way, I'm inspired by your theme in this picture.

Surely Here are the styles of all mode [image: image.png] [image: image.png] [image: image.png] [image: image.png] [image: image.png] But in Command mode, it will use the color of the current mode. [image: image.png] Normal mode [image: image.png] Visual mode and is there any setup for Terminal mode yet I am sorry if some parts of my explanation were unclear. I am new to Vim and still have much to learn. Vào Th 4, 19 thg 6, 2024 vào lúc 05:33 Gerard @.> đã viết:
…
Hi! Could you show me a screenshot indicating the missing styles? — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDSM6QXRDQ36H7Z2PLHFDLZICYUPAVCNFSM6AAAAABJQXZAZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXGE4TSMJSGA . You are receiving this because you authored the thread.Message ID: @.>

I cannot see this images. By the way, tomorrow I'm leaving for a trip, so next tuesday I would like to take a look on this. Thanks!

Surely Here are the styles of all mode [image: image.png] [image: image.png] [image: image.png] [image: image.png] [image: image.png] But in Command mode, it will use the color of the current mode. [image: image.png] Normal mode [image: image.png] Visual mode and is there any setup for Terminal mode yet I am sorry if some parts of my explanation were unclear. I am new to Vim and still have much to learn.

Surely
Here are the styles of all mode

But in Command mode, it will use the color of the current mode.

Normal mode

Visual mode
and is there any setup for Terminal mode yet
I am sorry if some parts of my explanation were unclear. I am new to Vim
and still have much to learn.


Look for a better solution to update playlist file

The way Overpass updates a stream's playlist file right now, will not scale well in the future.
Upon receiving a GET request for a playlist file, we re-write the playlist file to make sure we're on track with the playlist file generated by nginx.
https://github.com/GOATS2K/overpass/blob/master/overpass/hls.py#L32
However, this also means that this function runs on every single request, which is way more frequently than it would ever have to.

This has been fixed, will be released in an update.


[META] Synthetics Beta Release

Decision items

[x] Syntax finalized
[ ] Schema finalized
[x] Decision on browser (e.g. Chromium) and framework (e.g. Playwright)
[x] Bundle Synthetics Agent with Heartbeat Docker container https://github.com/elastic/beats/issues/22837

Other

[x] Implement more mature packaging strategy elastic/synthetics#140
[x] Merge synthetics feature branches into beats mainline https://github.com/elastic/beats/pull/21436
[x] Add E2E / Functional tests between Heartbeat <-> Synthetics <-> UI https://github.com/elastic/synthetics/issues/115
[x] Add Functional test for CLI https://github.com/elastic/synthetics/issues/139
[x] Unit tests for network/waterfall timing calculation https://github.com/elastic/synthetics/issues/185
[x] Migrate to regular heartbeat docker image https://github.com/elastic/synthetics/issues/182
[ ] Complete docs

[x] Docs/release note to make it clear that the latest version of the Synthetic Agent is needed (specifically, to support the waterfall chart)
[ ] Document package.json for synthetics https://github.com/elastic/observability-docs/issues/284
[x] Document how to use/deploy Docker images (not run.sh) https://github.com/elastic/observability-docs/issues/300

[ ] Update notices and banners from experimental to beta https://github.com/elastic/kibana/issues/91421
[x] Run Playwright post-install script to fix chrome binary sometimes unavailable https://github.com/elastic/synthetics/issues/142
[x] Feature flag to control filmstrip image capture https://github.com/elastic/synthetics/issues/143
[x] (Bug) Docker example doesn't work well with uids != 1000 https://github.com/elastic/synthetics/issues/156
[x] Redirects and DNS failures not represented correctly https://github.com/elastic/synthetics/issues/175
[x] no-sandbox option

[x] Synthetics implementation https://github.com/elastic/synthetics/issues/136
[x] Heartbeat implementation https://github.com/elastic/beats/issues/22901

[ ] Release Synthetics as package version 1.0.0-beta at FF (early enough for BCs)
[x] Move network info fields to ECS https://github.com/elastic/synthetics/issues/164
[x] Move timing calculation to agent https://github.com/elastic/synthetics/issues/152
[x] Exit with non-zero code when any step fails https://github.com/elastic/synthetics/issues/191
[x] Source is transpiled to lower JS version for suites https://github.com/elastic/synthetics/issues/172
[ ] Plan for handling synthetics dependencies https://github.com/elastic/beats/issues/22928

Some items moved from beta to the GA phase

Categorised the requirements into those that are awaiting a decision, and those that require an implementation

Added the requirement to change the behaviour such that the Synthetic Agent does not capture filmstrip images by default, but enable them via a feature flag/configuration (https://github.com/elastic/synthetics/issues/143)

Modified the link to refer to https://github.com/elastic/uptime-dev/issues/32 which replaces https://github.com/elastic/uptime-dev/issues/31

Moved #144 from beta to GA deliverable

As per this discussion, we are moving the bigger security changes https://github.com/elastic/uptime-dev/issues/32 from beta to GA, but adding the sandbox option (synthetics implementation, heartbeat implementation) as a beta requirement.

Added https://github.com/elastic/synthetics/issues/185 to the scope of beta

Added https://github.com/elastic/synthetics/issues/185 to the scope of beta

Added https://github.com/elastic/synthetics/issues/191 as a beta requirement

Added https://github.com/elastic/synthetics/issues/191 as a beta requirement

Adding https://github.com/elastic/synthetics/issues/172 as a beta requirement as its a bug and happens for all suites that are run as TS files.

Adding https://github.com/elastic/synthetics/issues/172 as a beta requirement as its a bug and happens for all suites that are run as TS files.

Moving remote ZIP support from being in GA to be in for beta

The above change of scope has been reverted.  Remote Zip URL support for heartbeat synthetics has been taken out of this (beta) and added back into GA.

https://github.com/elastic/uptime/issues/271 made beta, so added back into here

package.json docs are here - https://discuss.elastic.co/t/synthetics-1-0-0-beta-0-breaking-changes/271118