Implement method title() for unicode based on Cpython

The PR is continuation of other one.

The build is failing due to flake8 errors.

Could you rerun CI build?

@densmirn done, but I think the error is because there's a character in the CHANGE_LOG that's objectionable, fix is here https://github.com/numba/numba/pull/4655

@stuartarchibald thanks, so now are we waiting for the #4655?

@densmirn yes, but it shouldn't impact development on this branch, >95% of the test configurations are working and I think should provide sufficient feedback?

Could you please review the PR?

It's now queued for review, thanks.

Could you please rerun CI builds?

The cov CI build is known to timeout, I think we can safely ignore it in this PR.

Could you please continue reviewing the PR?

Thanks, I have queued it for the next round of review.

@densmirn a small favour to ask... please could you not force-push? It makes it incredibly hard to do review. As a result of force-pushing it's impossible to tell what has changed since last review which means having to go back and look through everything manually. Thanks for your co-operation!

The code in this PR is failing the flake8 checks when merged with master. I'd recommend merging in master and then running flake8 on any file that this PR touches and then fixing the issues. Most of the flake8 problems are from long comment lines containing github URLs which need     # noqa: E501 appending, or long docstrings which just need line wrapping. Note that the 80 character maximum line length is now being enforced.

@densmirn a small favour to ask... please could you not force-push? It makes it incredibly hard to do review. As a result of force-pushing it's impossible to tell what has changed since last review which means having to go back and look through everything manually. Thanks for your co-operation!

Please do not force push. If you need help with git then please ask and someone will help you in real time chat on https://gitter.im/numba/numba. Thanks for your cooperation.

@densmirn a small favour to ask... please could you not force-push? It makes it incredibly hard to do review. As a result of force-pushing it's impossible to tell what has changed since last review which means having to go back and look through everything manually. Thanks for your co-operation!

Please do not force push. If you need help with git then please ask and someone will help you in real time chat on https://gitter.im/numba/numba. Thanks for your cooperation.

I was not able to push w/o force after resolving merge conflicts with rebasing. In further I will try to avoid force-pushing.

Could you please re-review the PR?

Looks like CI failed due to non mine changes.

@densmirn thanks for the updates, I have queued this for the next round of reviews.  These are perhaps an artifact of a failed rebase? Also, if you do use rebase to fix merge conflicts you will need to fore-push as rebase changes the git history. In the Numba project we try to avoid rebase for any branch that has been reviewed already and instead rely on git merge. So, perhaps it is advisable for you too to avoid rebase in such situations.

Looks like the PR could be merged?

@densmirn indeed, CI has passed good enough and it can now be marked as ready for merge and will be merged during our next merge window.

@densmirn please could you merge master into this branch and resolve the conflicts. (Please merge, not rebase. note: if force push (git push -f) is required then the update has been done incorrectly!). If you need a hand then please shout :) Thanks!

@densmirn please could you merge master into this branch and resolve the conflicts. (Please merge, not rebase. note: if force push (git push -f) is required then the update has been done incorrectly!). If you need a hand then please shout :) Thanks!

master merged to this branch without rebase :)

Ready to merge once flake8 passes (just pushed a tiny commit to remove extra blank line)

Looks like the PR is ready to merge. Isn't it?

Yes, we are fixing up a PR related to CI testing, and then this will be merged.

Bump to get CI update.

Could you please check the PR is ready to merge and if that's so merge this one?

@densmirn thanks for asking about this, the PR has been marked as 'Ready for Merge' and will be merged during the next merge window. As for the failed travis build,  Travis has recently been disabled and the failure here can be safely ignored.


changed alignment of headings

Alignments improve readability of any document.

I don't want to align things with spaces. Left-alignment is fine in the license file.


How to do the segmentation task since the size of output is arbitrary?

Because the number of object of interest in a picture is arbitrary, the output size will be change with the input picture change.
And the second question is that how to tell different regions corresponding to different entities/objects in the picture?
Thank you!

Sorry, i`m not sure that understand you correctly, please describe your task more detailed. Is this task corresponds to PSPNet?

Sorry, i`m not sure that understand you correctly, please describe your task more detailed. Is this question corresponds to PSPNet?

I find that the function
model.predict(x)

will return a tensor with fixed size like axbxc which is a 3 dimension tensor where a , b and c are constant. However, I think the segmentation task will need the algorithm to produce the output(tensor) with different size.
For example, when we do the face recognition task, you feed a picture with 3 persons in it, the output will be 3 bounding boxes that is a 2x4x3(where the first 2 means the coordinate, the second 4 means every bounding box consists of 4 vertexes and the last 3 means that there are 3 faces in the picture ) tensor. Next  time you feed a picture with 4 persons, the output should be a 2x4x4 tensor.
As you can see, the output size is arbitrary, and I think the segmentation task should have the same property as the face recognition task.

No, this is semantic segmentation task, a number of classes is predefined. To know more about semantic segmentation read papers of PSPNet or Unet. Another case is instance segmentation, where we want all objects, even of one class, have different masks. For this task try to find for example MaskRCNN.

Oh，I see. Thank you！


SpotifyGPT

Introducing SpotifyGPT, your ultimate music companion powered by AI, ready to curate playlists, recommend songs, and engage in music-inspired conversations.
Chat Here

Please submit a pull request


unittest error

→ make test
/usr/local/bin/docker run --rm -it \
        -v /Users/tuki0918/Projects/github.com/tuki0918/scraper-pso2-event-calendar:/var/www/html \
        php:7.1-apache \
        vendor/bin/phpunit
PHPUnit 5.7.4 by Sebastian Bergmann and contributors.

.........................FF...FF...FF....                         41 / 41 (100%)

Time: 1.49 seconds, Memory: 6.00MB

There were 6 failures:

1) App\Tests\Parser\Engine\CampaignParseEngineTest::イベント内容の確認A1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2016-12-07 20:00:00'
+'2017-12-07 20:00:00'

/var/www/html/tests/Parser/Engine/CampaignParseEngineTest.php:65

2) App\Tests\Parser\Engine\CampaignParseEngineTest::イベント内容の確認A20
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2016-12-11 15:00:00'
+'2017-12-11 15:00:00'

/var/www/html/tests/Parser/Engine/CampaignParseEngineTest.php:81

3) App\Tests\Parser\Engine\CampaignParseEngineTest::イベント内容の確認B13
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2016-12-24 00:00:00'
+'2017-12-24 00:00:00'

/var/www/html/tests/Parser/Engine/CampaignParseEngineTest.php:129

4) App\Tests\Parser\Engine\CampaignParseEngineTest::イベント内容の確認B18
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2016-12-24 20:00:00'
+'2017-12-24 20:00:00'

/var/www/html/tests/Parser/Engine/CampaignParseEngineTest.php:145

5) App\Tests\Parser\Engine\CampaignParseEngineTest::イベント内容の確認C1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2016-12-28 20:00:00'
+'2017-12-28 20:00:00'

/var/www/html/tests/Parser/Engine/CampaignParseEngineTest.php:193

6) App\Tests\Parser\Engine\CampaignParseEngineTest::イベント内容の確認C72
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2017-01-05 07:00:00'
+'2018-01-05 07:00:00'

/var/www/html/tests/Parser/Engine/CampaignParseEngineTest.php:209

FAILURES!
Tests: 41, Assertions: 76, Failures: 6.
make: *** [test] Error 1

https://github.com/tuki0918/scraper-pso2-event-calendar/blob/master/src/Parser/Engine/CampaignParseEngine.php#L141

travis build:passing 😄

https://travis-ci.org/tuki0918/scraper-pso2-event-calendar/builds/204250017


box2d / toxiclibs issue?

Moving this comment to here.
From @bobcgausa:

Daniel
Running NOC p5 toxic and box2d examples on Firefox. Several don,t run.
5/09.  5/12
Have they all been tested.
Bob
Professorcook.org

A while ago yes, but not recently, will leave this open and will check out soon.


centos2ol.sh: line 7: syntax error near unexpected token `newline'

I have done a fresh install of CentOS 8 in Contabo VPS I download the centos2ol.sh script to try to convert it to Oracle Linux but I get the following errors

centos2ol.sh: line 7: syntax error near unexpected token `newline'

centos2ol.sh: line 7: `'

How are you downloading the script? This feels like a character encoding issue which can happen if you download using Windows, for example.

How are you downloading the script? This feels like a character encoding issue which can happen if you download using Windows, for example.

I don't remember the last time I used a Windows machine, maybe 16 or 18 years I download the script using wget

If it's not character encoding, maybe the wrong shell interpreter. Are you sure you're  running it with bash?

IIRC loading a script using the sh command will make Bash operate in POSIX-sh compatibility mode, which may cause problems, just my 2 cents...

If it's not character encoding, maybe the wrong shell interpreter. Are you sure you're running it with bash?

Yes I'm running it with bash but it gives the same error it does no matter if you try to run it using bash, sh or ./

Except I can't reproduce this no matter whether I use bash, sh or ./ -- it works with all three. Can you provide the content of /etc/os-release and uname -a? We're obviously missing something, now we just have to work out what.

Except I can't reproduce this no matter whether I use bash, sh or ./ -- it works with all three. Can you provide the content of /etc/os-release and uname -a? We're obviously missing something, now we just have to work out what.

Solved

Solved

Would you mind telling us how, just in case this comes up again?

I had the same issue.  What it was for me was that I right-clicked on the hyperlink in the "Either clone this repository or download the centos2ol.sh script." line and then did a wget for that hyperlink.  Rather than this downloading the script, it downloaded the web page for acquiring the script, thus the errors:
./centos2ol.sh: line 7: syntax error near unexpected token `newline'
./centos2ol.sh: line 7: `<!DOCTYPE html>'

I deleted the file, and then actually downloaded the script directly. :)
I thought I'd share since this is the only hit for the error, and it was annoying to be simply "solved" without explanation.

I had the same issue.  What it was for me was that I right-clicked on the hyperlink in the "Either clone this repository or download the centos2ol.sh script." line and then did a wget for that hyperlink.  Rather than this downloading the script, it downloaded the web page for acquiring the script, thus the errors:
./centos2ol.sh: line 7: syntax error near unexpected token `newline'
./centos2ol.sh: line 7: `<!DOCTYPE html>'

I deleted the file, and then actually downloaded the script directly. :)
I thought I'd share since this is the only hit for the error, and it was annoying to be simply "solved" without explanation.

Oh, that makes sense! I've submitted a PR to fix that.

Oh, that makes sense! I've submitted a PR to fix that.

Now to figure out why I'm getting a dracut timeout after conversion. ;)

Now to figure out why I'm getting a dracut timeout after conversion. ;)

Looks good now Avi!  Thanks.  I also edited my initial posting's hyperlink, just so the old link isn't hanging around there too. :)

Looks good now Avi!  Thanks.  I also edited my initial posting's hyperlink, just so the old link isn't hanging around there too. :)


[Integration] If to refresh browser page, then "Conversation not found" message appears instead of shared with me chat history

Prepare conversation in "Shared with me"
Click on the conversation to see it's history
Refresh the browser -> see the screenshot

User has to click on another conversation and return to this one.
! Also sometimes after the refresh the chat appears in Today section

Verified on UAT successfully


null safety support?

Hi,
You have got very useful tool. Are you planning to add null safety support?

Hi have migrated the code to null safety

@SachinBhankhar would you like to publish a package of your repository? It seems like this one is not maintained anymore

@avkonst Okay i will publish soon

@avkonst https://github.com/SachinBhankhar/flutter_restart_plugin.git can you implement ios side ?

@SachinBhankhar worked like a charm. Thanks!


Does it work with Next.js

I am trying to use this with Next.js without success. I've thought it might be related to server-side rendering. Could you confirm if if can work on Next?
Thanks!

You should be able to use it using Next's dynamic and importing Textfit on the client side only.
const Textfit = dynamic(
  () => import('react-textfit').then(mod =>  Textfit,
  { ssr: false }
)

Let me know if that works for you.

I works like charm. Thank you very much for your answer!!


A problem with fragments on API 15

I have an app that uses fragments. When I start the app with the pin window disabled, it works just fine. However, when the pin window appears at the start of the app, fragments stop working. For example, the code below should show a settings window when I click a menu item but it does not if LolliPin is activated. I checked with the debugger that my program reaches commit() method - no exception is thrown, the fragment just do not appear. There is no such problem with API 24, though. Am I doing something wrong?
Here is my code:
public class MainActivity extends PinCompatActivity{
...

	@Override
	public boolean onOptionsItemSelected(MenuItem item){
		if (item.getItemId() == R.id.action_settings){
			getFragmentManager()
					.beginTransaction()
					.replace(android.R.id.content, new SettingsFragment())
					.addToBackStack("settings")
					.commit();
		}

		return true;
	}
}

Did anyone try using fragments inside a pinlocked activity at all?

It seems that the problem was not directly related to the library. The pin code window adds some delay to activity starting process. That delay was the reason why a bad architecture of my app produced the bug. Please also notice that when an app with LolliPin starts onStart() and onStop() methods are called twice. This fact may help you in debugging.


Framed camera's Viewfinder_in_play's frame does not despawn when changing camera priority

Issue description
The green frame showing the dead zone for framed cameras does not despawn when the priority between two framed cameras is swapped. This causes the green frames to stack until it becomes impossible to see anything else.
https://github.com/ramokz/phantom-camera/assets/20906065/a46ed2da-ebd5-4028-a119-4cc1f4429806
Steps to reproduce
In the 2DLimitExampleScene set all of the cameras to Framed and toggle on their ViewFinder_in_play option. Run the scene and walk back and fourth between two of the limit boundaries so that the cameras switch. This will cause more and more frames to appear until the screen is just green except for the deadzone.
(Optional) Minimal reproduction project
No response

Found in version 0.6.3 of Phantom Camera and version 4.2.1 of Godot.

Can confirm this issue, will be addressed in an upcoming minor release.


In the section of Configure the visualization code - cant find config.py file

In this section it says that i have to edit the config.py file
this is the only thing i have on the systme:
osmc@led:~/rpi_ws281x/python/examples$ sudo find / -name "config.py"
/usr/lib/python2.7/distutils/config.py
/usr/lib/python2.7/distutils/command/config.py
/usr/lib/python2.7/logging/config.py

@Yariv-h couldyou close this issue then? 😄


TVP vesicle fusion

vesicle fusion 0006909 generates TVPs with the parents
exocytosis/secretory pathway
and
siderochrome transport
Reported by: ValWood
Original Ticket: "geneontology/ontology-requests/1594":https://sourceforge.net/p/geneontology/ontology-requests/1594

thanks www.movied.org


New property to override default submit button text

In current solution you always end up with button with label "Submit". It will be nice if you provide possibility of changing this label via "schema" object.

Yup, true. That could be an option supported by the uiSchema.

It would be great to be able to use multiple buttons in the form. Maybe we could pass them via children ?

You can now use your own buttons (see https://github.com/mozilla-services/react-jsonschema-form/pull/34)
So maybe we could close this issue ?

Sure!


Segmenter should have a generic option where no locale/language needs to be specified

Needing to specify set locales is very restrictive. This isn't the old days of packaged software where software is sold in separate English, Spanish, and Chinese versions, etc. On the web, everything is more fluid and diverse, and that's a good thing. I should be able to enter my name in Chinese on an English web game, and it should still format properly. I should be able to enter some Hindi text on a Japanese website for graphing things, and it should still format properly.
There should be a generic option where the segmenter will automatically break up text into different scripts and apply reasonable segmentation rules to the different scripts.

Please read " locale-sensitive boundary suppression specifications " and "
tailored grapheme clusters" in https://unicode.org/reports/tr29/ to understand why the API require locale parameter. You can enter [] as locale and the API should still be able to work for the case you describe, but won't work for some more advanced requirement.

Awesome. I know having a locale helps with certain situations but I just wanted to make sure the proposal had an option for still doing something reasonable if no locale is provided or the wrong locale is provided.

Give you a concrete example of why locale is needed for Segmenter- take a look at https://unicode-org.atlassian.net/browse/ICU-21854
some language need specific rule for those issue only inside that language. There are rule which most language follow, but there are cases that the usage in two language conflict against each other and it will be impossible to have one to make both usage happy.

Sure, that particular example is somewhat ambiguous because for normal French speakers, I don’t think it makes a big difference either way. But I agree that in many cases, having a locale is useful.
I just think that 99% of the JS code that uses the API is going to be some copy-pasted code from StackOverflow or some NPM library that uses “en” as the locale or no locale at all. So it’s important that the spec says that the API implementations should still try to do something reasonable in those situations.

it’s important that the spec says that the API implementations should still try to do something reasonable in those situations.

That is covered by https://unicode.org/reports/tr29/ and http://unicode.org/reports/tr14/ which ECMA402 and it's proposal defer the detail to.


MongoDB: Version 3.4.* doesn't deploy (CrashLoopbackOff)

https://github.com/kubedb/mongodb/pull/559


Add unsafe_hash alias for class-wide hash

Summary
attr.s(unsafe_hash=True) is now equivalent to attr.s(hash=True) to standardize based on PEP 681.
Fixes #1003
Pull Request Check List

[x] Added tests for changed code.
Our CI fails if coverage is not 100%.
[x] New features have been added to our Hypothesis testing strategy.
[x] Changes or additions to public APIs are reflected in our type stubs (files ending in .pyi).

[x] ...and used in the stub test file tests/typing_example.py.
[x] If they've been added to attr/__init__.pyi, they've also been re-imported in attrs/__init__.pyi.

[x] Updated documentation for changed code.

[x] New functions/classes have to be added to docs/api.rst by hand.
[x] Changes to the signature of @attr.s() have to be added by hand too.
[x] Changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives.
Find the appropriate next version in our __init__.py file.

[x] Documentation in .rst files is written using semantic newlines.
[x] Changes (and possible deprecations) have news fragments in changelog.d.
[x] Consider granting push permissions to the PR branch, so maintainers can fix minor issues themselves without pestering you.

@debonte does this cover what you asked me about in checks notes April? 🙈

@debonte does this cover what you asked me about in checks notes April? 🙈

:) I added one minor comment about the documentation. Otherwise, this looks good to me. Thanks for making this change!


Communication mechanism JS (Part 1)

Description
Request Response model to fetch Job details like job index and job type from extensions.
Issues Resolved
https://github.com/opensearch-project/opensearch-sdk-java/issues/274
Companion PR
OpenSearch https://github.com/opensearch-project/OpenSearch/pull/5586
opensearch-sdk-java https://github.com/opensearch-project/opensearch-sdk-java/pull/289
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

DCO check is failing. Commit using -s flag. Thanks


Build design to login through facebook using html & css

ISSUE #180

Describe the changes you've made
I have added icon in enter email and password section. I have build design of login with facebook and instagram using html , css and font awesome.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Additional context (OPTIONAL)
Add any other context or screenshots about the feature request here.
Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[ ] Open Source Program names(OPTIONAL: If you participated in any open-source program then please mention the program name here)

Compare it with the present -> https://qazimaazarshad.github.io/Movie-Streaming-Website/login.html
@Aditya7494 this is the login page after your changes, I have reverted the PR and have not added the label to your PR.
Correct it make another PR, first update, fetch upstream then make changes.


Change info[filename] to filenames[0] in raw object.

The raw.info['filename'] reference is deprecated in the latest MNE version. In order to get the filename raw.filenames can be used.
Caveat: raw.filenames provides a tuple, and it is unclear when more than one filename may exist in the raw object. So, although presently raw.filenames[0] is used in the code, a check maybe be necessary in the future.
The changes are made for the below files only at the moment,
decompose/ocarta.py jumeg_iomeg.py jumeg_noise_reducer.py jumeg_plot.py jumeg_utils.py
@fboers please let me know if you have already made changes to the filename references in jumeg_base.py, and epocher related files and are planning to push it (?).

Partially resolves #130

Please update @jdammers @dongqunxi @ebeich


Use router path as resource name

Fixes #27

Codecov Report

Merging #28 into master will decrease coverage by 94.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##            master     #28       +/-   ##
===========================================
- Coverage   100.00%   5.92%   -94.08%
===========================================
  Files            9       6        -3
  Lines          348     253       -95
===========================================
- Hits           348      15      -333
- Misses           0     238      +238

Impacted Files
Coverage Δ

tests/applications/raw.py
0.00% <0.00%> (-100.00%)
:arrow_down:

tests/applications/fastapi.py
0.00% <0.00%> (-100.00%)
:arrow_down:

tests/applications/starlette.py
0.00% <0.00%> (-100.00%)
:arrow_down:

tests/test_trace_middleware.py
6.31% <0.00%> (-93.69%)
:arrow_down:

tests/utils/asgi.py

tests/utils/config.py

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 32ccb56...d4b61e7. Read the comment docs.

Codecov Report

Merging #28 into master will decrease coverage by 94.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #28       +/-   ##
==========================================
- Coverage     100%   5.92%   -94.08%
==========================================
  Files           9       6        -3
  Lines         348     253       -95
==========================================
- Hits          348      15      -333
- Misses          0     238      +238

Impacted Files
Coverage Δ

tests/applications/raw.py
0% <0%> (-100%)
:arrow_down:

tests/applications/starlette.py
0% <0%> (-100%)
:arrow_down:

tests/applications/fastapi.py
0% <0%> (-100%)
:arrow_down:

tests/test_trace_middleware.py
6.31% <0%> (-93.69%)
:arrow_down:

tests/utils/config.py

tests/utils/asgi.py

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 32ccb56...d4b61e7. Read the comment docs.

Can't figure out how to test partial match yet, which causes build to fail due to lower than expected test coverage.

Can't figure out how to test partial match yet

According to this snippet, Match.PARTIAL happens when the URL matches but the requested HTTP method isn't allowed by the endpoint:
https://github.com/encode/starlette/blob/508ab752b4f9fb4f5c414eec56f204459297825d/starlette/routing.py#L200-L201
So I assume we should be able to cover that code path by issuing a POST to the path_parameters endpoint?

@inikolaev I pushed and merged two PRs (#29, #30) to clean up the test setup, feel free to merge master back in here — you should have a few issues off your plate. :-)

Thanks! This is lookind great so far.

Can't figure out how to test partial match yet

According to this snippet, Match.PARTIAL happens when the URL matches but the requested HTTP method isn't allowed by the endpoint:
https://github.com/encode/starlette/blob/508ab752b4f9fb4f5c414eec56f204459297825d/starlette/routing.py#L200-L201
So I assume we should be able to cover that code path by issuing a POST to the path_parameters endpoint?

Yes, I was just confused about which status code to expect, but now it should be fine.

I made enrich_span private for now, this would allow to change name/signature before it's made public.

Thanks! I’ll try and leave a review soon. :)

Did you have a chance to look at it?

Hi @inikolaev, having reviewed this, thought about this a bit more, and found more use cases for customizing the default behavior (eg for my personal website), I don't think this would be the right way to go anymore.
I opened #32 with ideas about an extension mechanism that should also allow you to resolve your use case (although it would indeed require writing some code). Can you take a look over there and confirm? Thanks! I'm closing this in the meantime, thanks for the time you've put into this. :-)

I’ll take a look!
Can you take a look at this PR about adding routes to Starlette scope and add some suggestions to make it more framework agnostic, since there’s nothing about routes in the standard: https://github.com/encode/starlette/pull/804/files

@inikolaev I don't think it can be made framework agnostic, unfortunately.
The ASGI spec doesn't say anyway about how applications should handle routing (or whether they even have to). I played with the idea of a standardized routing ASGI extension, but we'd run across the same problem of "but what if my specific framework wants to add some more information?".
So I think https://github.com/encode/starlette/pull/804 looks good right now. If nothing else if it should allow you to integrate with ddtrace-asgi more easily by inspecting the list of matched routes in scope. :-) Though that would need to happen after route matching happened, so after the app was called into… Might need to add one more hook to #32 as it currently doesn't support modifying the span after the response was sent.

That true, if frameworks want to add some framework-specific fields, that should be put into some standardized namespace, to avoid clashing with standard fields added in the future.


containerized install fails to restart origin-master-api service without reboot

[cloud-user@osacpr00-master-p8tg ~]$ sudo systemctl restart origin-master-api
Job for origin-master-api.service failed because the control process exited with error code. See "systemctl status origin-master-api.service" and "journalctl -xe" for details.
[cloud-user@osacpr00-master-p8tg ~]$ sudo systemctl status origin-master-api.service | cat
● origin-master-api.service - Atomic OpenShift Master API
Loaded: loaded (/etc/systemd/system/origin-master-api.service; enabled; vendor preset: disabled)
Active: activating (start-post) (Result: exit-code) since Thu 2017-06-08 20:31:48 UTC; 6s ago
Docs: https://github.com/openshift/origin
Process: 2157 ExecStop=/usr/bin/docker stop origin-master-api (code=exited, status=1/FAILURE)
Process: 2197 ExecStart=/usr/bin/docker run --rm --privileged --net=host --name origin-master-api --env-file=/etc/sysconfig/origin-master-api -v /var/lib/origin:/var/lib/origin -v /var/log:/var/log -v /var/run/docker.sock:/var/run/docker.sock -v /etc/origin:/etc/origin -v /etc/origin/cloudprovider:/etc/origin/cloudprovider openshift/origin:${IMAGE_VERSION} start master api --config=${CONFIG_FILE} $OPTIONS (code=exited, status=125)
Process: 2191 ExecStartPre=/usr/bin/docker rm -f origin-master-api (code=exited, status=1/FAILURE)
Main PID: 2197 (code=exited, status=125);         : 2198 (sleep)
Memory: 84.0K
CGroup: /system.slice/origin-master-api.service
└─control
└─2198 /usr/bin/sleep 10
Jun 08 20:31:48 osacpr00-master-p8tg systemd[1]: Starting Atomic OpenShift Master API...
Jun 08 20:31:48 osacpr00-master-p8tg origin-master-api[2191]: Error response from daemon: No such container: origin-master-api
Jun 08 20:31:48 osacpr00-master-p8tg origin-master-api[2197]: /usr/bin/docker-current: Error response from daemon: devmapper: Error activating devmapper device for '0e92887c9910f82a424e0ba97a8bbbbbca33b663394adc611b0c6132fa8c1e5c-init': devicemapper: Can't set cookie dm_task_set_cookie failed.
Jun 08 20:31:48 osacpr00-master-p8tg origin-master-api[2197]: See '/usr/bin/docker-current run --help'.
Jun 08 20:31:48 osacpr00-master-p8tg systemd[1]: origin-master-api.service: main process exited, code=exited, status=125/n/a
[cloud-user@osacpr00-master-p8tg ~]$ sudo docker --version
Docker version 1.12.6, build 1398f24/1.12.6
[cloud-user@osacpr00-master-p8tg ~]$ sudo rpm -q docker
docker-1.12.6-28.git1398f24.el7.centos.x86_64

It seems like all deployment now fail because of this:
RUNNING HANDLER [openshift_metrics : restart master controllers] ***************
fatal: [gca-dev-00-master-tfmk]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to restart service origin-master-controllers: Job for origin-master-controllers.service failed because the control process exited with error code. See \"systemctl status origin-master-controllers.service\" and \"journalctl -xe\" for details.\n"}

Perhaps related: https://github.com/moby/moby/issues/23089

I wasn't able to reproduce this issue on RHEL and openshift enterprise, so probably issue with centos and docker, as suggested.

When I worked around #454 this problem was resolved.

We had the same issue with Atomic Host and OpenShift Origin 3.9 when enabled VMware and Metrics.


fixes https://github.com/fabric8io/fabric8/issues/4039 to remove the use of "-controller" or "-service" on controllers/services and fix up the artifact id and service id of the console app

fixes https://github.com/fabric8io/fabric8/issues/4039 to remove the use of "-controller" or "-service" on controllers/services and fix up the artifact id and service id of the console app

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/475/
Test PASSed.


Update to Velocity 1.2.2

@tedtate @scalvert @donnielrt
Updates Velocity to the latest version. Check out http://github.com/julianshapiro/velocity/releases for more information.

If you want to try this in action, I'm using it in the pikabu-2.0-theme branch of Pikabu.

:+1:


Range/inequality joins are slow

Describe the bug
Joins where the ON filter are not equality, but rather inequalities like <, `> etc. seem slow. Atleast compared to DuckDB which seem like a direct "competitor".
The main difference between the DuckDB and Datafusion plans seem to be that Datafusion uses a NestedLoopJoinExec, while DuckDB uses a IEJoin.
Note that the query could be written better with a ASOF-join, but Datafusion does not support that (see issue https://github.com/apache/arrow-datafusion/issues/318).
To Reproduce
Create some test data with this SQL (saved as repro-dataset.sql) in DuckDB:
CREATE
OR REPLACE TABLE pricing AS
SELECT
    t,
    RANDOM() as v
FROM
    range(
        '2022-01-01' :: TIMESTAMP,
        '2023-01-01' :: TIMESTAMP,
        INTERVAL 30 DAY
    ) ts(t);

COPY pricing to 'pricing.parquet' (format 'parquet');

CREATE
OR REPLACE TABLE timestamps AS
SELECT
    t
FROM
    range(
        '2022-01-01' :: TIMESTAMP,
        '2023-01-01' :: TIMESTAMP,
        INTERVAL 10 SECOND
    ) ts(t);

COPY timestamps to 'timestamps.parquet' (format 'parquet');

$ duckdb < repro-dataset.sql

We will compare the performance of the following query in DuckDB and Datafusion. The query is saved as repro-range-query.sql.
WITH pricing_state AS (
    SELECT
        t as valid_from,
        COALESCE(
            LEAD(t, 1) OVER (
                ORDER BY
                    t
            ),
            '9999-12-31'
        ) as valid_to,
        v
    FROM
        'pricing.parquet'
)
SELECT
    t.t,
    p.v
FROM
    pricing_state p
    LEFT JOIN 'timestamps.parquet' t ON t.t BETWEEN p.valid_from
    AND p.valid_to;

DuckDB performance:
$ time duckdb < repro-range-query.sql
...
real    0m0.999s
user    0m6.070s
sys     0m3.600s

Datafusion performance:
$ time datafusion-cli -f repro-range-query.sql
...
real    0m8.269s
user    0m6.358s
sys     0m1.907s

Expected behavior
It would be nice if the above query (or something equivalent) would be faster in Datafusion.
If someone knows of a better way to express the query, then that could also be a workaround for me.
Additional context
Machine tested on:
CPU:Ryzen 3900x
OS: Ubuntu 22.04
Versions used:
$ duckdb --version
v0.9.2 3c695d7ba9

$ datafusion-cli --version
datafusion-cli 33.0.0

I just noticed that what I really want is to actually do a RIGHT join. That is, if there is no matching pricing for a timestamp, it should give null.
Changing the query to that, Datafusion is much faster. I believe it's because with a RIGHT join, pricing becomes the outer table (single partition), while timestamps becomes the inner table (unspecified partitioning), which allows for greater parallelism (see https://github.com/apache/arrow-datafusion/blob/e19c669855baa8b78ff86755803944d2ddf65536/datafusion/physical-plan/src/joins/nested_loop_join.rs#L72-L77C4)
But I think the issue should still be open - the LEFT join is still slower

I stared trying to collect a list of various join improvments  on https://github.com/apache/arrow-datafusion/issues/8398

I am interested in this ticket. Since it is a pretty major project,  I will write a proposal first.

Thank you @my-vegetable-has-exploded  -- that is a great idea
cc @korowa  / @viirya / @metesynnada  who have been involved in Join implementations recently and who may be interested as well

Disregarding IEJoin -- time output from the issue description seems to show that both DuckDB and DF spend +- same cputime (user + system) and the only difference is parallelism (shown by real time), which, how @simonvandel noticed, depends on left/right input + join type)-- this makes me think that the x8 slowdown is not related to how join performed internally, but more like caused by physical optimizer skipping join reordering for NestedLoopJoin.
So, if i'm not mistaken, this issue is mostly about covering NLJoin in join_selection.rs.

So, if i'm not mistaken, this issue is mostly about covering NLJoin in join_selection.rs.

I think it is a good idea to improve performance in this scenario. Your pr is also good for me. But I think it is also ok to keep old parallelism strategy. In my opinion,  the old paralleism strategy should works, but the check in enforce_distribution.rs block the reparition of it whick would check the row number. In this query, pricing_state 's row numbers is less than batch_size and the RepartitionExec also just works for a batch a time.
https://github.com/apache/arrow-datafusion/blob/ad8d552b9f150c3c066b0764e84f72b667a649ff/datafusion/core/src/physical_optimizer/enforce_distribution.rs#L1099-L1106
I think it may another way to write a new enforce_distribution strategy for NestLoopJoin and CrossJoin. We can check repartition_beneficial_stats by the left table size multiply right partition size rather than just right partition size (take RIGHTJOIN for example).

the old paralleism strategy should works, but the check in enforce_distribution.rs block the reparition

I don't think it's proper way to go -- it'll give some benefits in terms of runtime, but it will be suboptimal in terms of memory utilization, and cputime (as we'll need to perform BuildSideRows * NumberOfPartitions filter evaluations instead of BuildSideRows * 1, where 1 is probe side input batches)

I don't think this issue should be closed.
#9676 seems to take care of ordering but I think it doesn't improve range/inequality joins much?

My intention was to fix NLJoin parallelism issue due to fixed build-side choice, and in the same time we also have #318 for specialized operator implementation, so, I supposed #9676 to be enough.
Don't mind to keep it open, though.

Could anyone do me a favour here？
https://github.com/apache/datafusion/pull/12754#discussion_r1787853867


New version: ToeplitzMatrices v0.7.2

Registering package: ToeplitzMatrices
Repository: https://github.com/JuliaMatrices/ToeplitzMatrices.jl
Created by: @MikaelSlevinsky
Version: v0.7.2
Commit: 1e4f92c15d9fd83c204cffbd19886c3f6addaf32
Reviewed by: @MikaelSlevinsky
Reference: https://github.com/JuliaMatrices/ToeplitzMatrices.jl/commit/1e4f92c15d9fd83c204cffbd19886c3f6addaf32#commitcomment-81968339
Description: Fast matrix multiplication and division for Toeplitz matrices in Julia

Please close without merging, thank you!

This has been superseded by https://github.com/JuliaRegistries/General/pull/66874


Fix build and Dockerfile

The glide to mod migration has some dependency issue.
The cli lib should really be v2 instead, otherwise it won't compile.
--- or maybe I did something wrong, please let me know if that's the case.
Also the latest burrow is on v3 api, that is why ENV API_VERSION is set to 3 in Dockerfile.
Tested with:
docker build . -t burrow_exporter:test

docker run --rm --net host -it burrow_exporter:test ./burrow-exporter --burrow-addr=http://localhost:8082
INFO[0000] Scraping burrow...                            timestamp=1581008946640668824
INFO[0000] Finished scraping burrow.                     timestamp=1581008946647328652 took=6.660037ms

it seems it doesn't work if merge with master.
did not notice the commit 477f4ad435be4509f16cb0bac386fe72da3fd58d

@rjh-yext would it be possible to revert 477f4ad435be4509f16cb0bac386fe72da3fd58d and merge this instead ? i.e. use cli/v2

alright. resolved conflict again.

@rjh-yext Anything outstanding here?


Fixes previous step issue in one-step-challenges

closes Issue #4756

:+1:
Also, great way to cut through all the logic there, made this more compact and maintainable.


script_score

 def some_search_query     {             function_score: {                 query: {                     bool: {                         must_not: [                             "term":                                 {                                     "price": 0                                 }                         ],                         should: [                             {                                 multi_match: {                                     query: @search_params[:input_text] || "",                                     type: "cross_fields",                                     analyzer: "standard",                                     fields: some_search_fields,                                     operator: "and",                                     _name:"product"                                 }                             },                             {                                 multi_match:                                     { query: @search_params[:input_text] || "",                                       type: "best_fields",                                       analyzer: "standard",                                       fields: similar_product_search_fields,                                       tie_breaker: 0.3,                                       _name:"similar_products"                                     }                             }                         ]                     }                 },                 script_score: {                     script: {                         source: doc['priority_score'] + score,                         params: {                             score: 2                         }                     }             }       }     }   end SomeProductsIndex.query(some_search_query)
Problem is that it didn't knows what is doc, but if  i put "doc['priority_score'] + score" like this, than it's not working too, because elastic did not knows what is doc in " ".

@Bukenco have you checked the ES documentation?
Because the API is just a wrapper for the ES calls.
You can send the doc as a parameter of the some_search_query if you're supposed to inject the value. If you want to use the priority_score your param should be a string not a ruby calculus:

def some_search_query
  { function_score:
    { query: { bool: { must_not: [ "term": { "price": 0 } ],
        should: [ { multi_match: { query: @search_params[:input_text] || "", type: "cross_fields", analyzer: "standard", fields: some_search_fields, operator: "and", _name:"product" } },
   { multi_match: {
       query: @search_params[:input_text] || "", type: "best_fields", analyzer: "standard",
     fields: similar_product_search_fields, tie_breaker: 0.3, _name:"similar_products" } } ] } },
    script_score: { script: { source: "doc['priority_score'] + score", params: { score: 2 } } } } }
end

SomeProductsIndex.query(some_search_query)

Closed due to inactivity


[LaLiga] Enhanced Match Information

Description

Added match lineups to provide detailed information about the starting players and substitutes for each team.
Included upcoming and previous matches directly in the standings view for easier navigation.

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @pernielsentikaer
Thanks for your fixes, but I wonder what's wrong with the lint in my end. Do you know why it's failed?

I have no clue actually, does it still fail for you?

@pernielsentikaer no, just failed in the PR checks


Add support for additional CLI arguments when using yaml

When using a yaml file, users are unable to execute the tw command and subcommands with any additional flags such as --insecure which can be a blocker. We should be able to add support for these without having to extend the command string in the _tw_run method.

Fixed in https://github.com/seqeralabs/twkit/pull/34


FireFox 53.0.2 Microphone plugin issue.

Wavesurfer.js microphone plugin doesnt works normally for me on example page - https://wavesurfer-js.org/plugins/microphone.html
After "Start the mic" click I see request to access the microphone and then no reaction on my voice, just horisontal line.
Browser version(s):
FireFox 53.0.2 (32-bit)
Windows 7

Works fine in Chrome.

can anyone reproduce this? @entonbiba?

@aaagepard @thijstriemstra I've updated the microphone sample, will test it on chrome since it's not working for me on chrome at the moment.
https://codepen.io/entonbiba/pen/ZKRgvZ

@entonbiba , new sample (https://codepen.io/entonbiba/pen/ZKRgvZ) works for me in Chrome 58.0.3029.110 (64-bit) Windows 7
But do not works in FireFox 53.0.2 (32-bit) Windows 7

Hello! Any news?

May be it will help.
I made some debug and got that in FF we cant got data from Channel when we are trying to redraw area.
if file wavesurfer.microphone.min.js::reloadBuffer I added this code
/**
   * Redraw the waveform.
   */
  reloadBuffer: function(event) {

    console.log('reloadBuffer');
    console.log(event.inputBuffer.numberOfChannels);
    console.log(event.inputBuffer.getChannelData(0));

    if (!this.paused) {
      this.wavesurfer.empty();
      this.wavesurfer.loadDecodedBuffer(event.inputBuffer);
    }
  },

I got data in Chrome,

but empty arrays in FF

Can't reproduce it on firefox 53.0.3 on Ubuntu 16.04..

I tested on Windows 7.

Yea so it's an issue with that browser on that platform. Have you tried searching the firefox bugzilla for similar bug reports related to win/microphone?

seems there are no similar bug reports in bugzilla....

Can you reproduce it on other platforms? OSX? Eventually I would suggest opening a ticket in the firefox bugzilla..

@thijstriemstra  just tested on firefox 53.0.3 windows 10.
@aaagepard
Go here and preview the mic code: https://www.entonbiba.com
Are you getting the following popup in firefox? Make sure your mic recording is turned on.

You should see the orange mic icon when you allow the mic on firefox.

@aaagepard is on windows 7 though..

@entonbiba yes, I got mic popup in FF.

Hm. I tested on other laptop with Windows 7 and FF 53.0.3 and it works FINE.  So it is very strange, why it dont work for my PC(but works in Chrome). will reinstall FF may be.

Good to hear.


Add Barbados calendar

refs #333

[x] Tests with a significant number of years to be tested for your calendar.
[x] Docstrings for the Calendar class and specific methods.
[x] Use the workalendar.registry.iso_register decorator to register your new calendar using ISO codes (optional).
[x] Calendar country / label added to the README.rst file,
[x] Changelog amended with a mention like: "Added <country> by @pseudo (#)"

I've not found much of official sources, here are examples of two years on the official websites:
https://web.archive.org/web/20090806030650/http://www.barbados.gov.bb/bdospublichol2.htm
https://labour.gov.bb/wp-content/uploads/PDF/Public-Holidays-for-the-Year-2019.pdf

Could you please have a look at this @ludsoft?

It is indeed cleaner than my implementation. You changes look good to me. Thanks.

released and available on PyPI.


Update installation instructions to Python 3

Consider updating installation instructions (including submodules) to use Python 3 (pip3).
Some customers are following (copy/pasting) the installation instructions to the letter on the repositories and are running into issue due to incompatibilities with Python 2 for certain submodules.

Those customers who are following those instructions to the letter are doing what they should be doing.
Documentation is a first-class citizen. Thank you for taking ownership of it with this new issue. It means a lot.


Add Return Types

Adding return types should decrease the size of the declaration files while speeding up the IDE a little when inferring the proper types.

After looking into this, I've decided it's not super helpful. It decreases the .d.ts size by a little, but it makes the code way messier as you're forced to do several as unknown as TYPE. Even if that's not the case, it adds extra bloat to the generics on hover. Going to forgo adding these for now.

I ended up doing this because it vastly increased performance and I found a way that didn't require as unknown as TYPE. I also found a way to reduce the extra bloat so that the return types are now cleaner than the inferred variant. Fixed by #30


figure out more ergonomic approach for querying keys with value

the ergonomics of this got all messed up when we changed from a single bytes representation of a value to static data + encoded lengths + dynamic data
cc @smallbraingames

agreed
doesn't look good so makes me sad and leads to more stack too deep errors
example of ugliness


⚠ Orpheus has degraded performance

In fdc5109, Orpheus ($OPS) experienced degraded performance:

HTTP code: 200
Response time: 1301 ms

Resolved: Orpheus performance has improved in 0506b4f after 6 minutes.


Document stage inheritance

Proposed changes
I recently discovered a hidden feature for multi-stage builds in a Medium article that is really useful to us, but as far as I know wasn't officially documented yet. I added a paragraph or two about how it works and what its use case is.

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 81ae80f84b9389b9301b3df5052aa518e85625ef
https://deploy-preview-8654--docsdocker.netlify.com

Using previous stages in the FROM directives is already documented here: https://github.com/docker/docker.github.io/blob/master/develop/develop-images/multistage-build.md#use-a-previous-stage-as-a-new-stage.
I think explicitly calling out how ENV variables are inherited is a good idea though, though it should be under that section rather that right after the named stages.


Try to avoid network=host for Router

NodePort range: 30000 - 32767

Not worth the effort for now


Failed to install OLM and get Kubernetes config on Microk8s single node cluster

Type of question
Are you asking about community best practices, how to implement a specific feature, or about general context and help around the operator-sdk?
Operator-SDK | OLM
Question
Why am I getting this error when I try to follow documentation instructions to install olm via operator-sdk?
What did you do?
ubuntu@pc00:~/kubernetes/operator/memcached-operator$ operator-sdk olm install
What did you expect to see?
A clear and concise description of what you expected to happen (or insert a code snippet).
ubuntu@pc00:~/kubernetes/operator/memcached-operator$ operator-sdk olm install
Succesfully installed olm via operator-sdk

What did you see instead? Under which circumstances?
A clear and concise description of what you expected to happen (or insert a code snippet).
ubuntu@pc00:~/kubernetes/operator/memcached-operator$ operator-sdk olm install
FATA[0000] Failed to install OLM version "latest": failed to get Kubernetes config: <nil>

Environment

operator-lifecycle-manager version:

ubuntu@pc00:~/kubernetes/operator/memcached-operator$ operator-sdk version
operator-sdk version: "v1.4.0", commit: "67f9c8b888887d18cd38bb6fd85cf3cf5b94fd99", kubernetes version: "1.19.4", go version: "go1.15.5", GOOS: "linux", GOARCH: "arm64"

Kubernetes version information:

  ubuntu@pc00:~/kubernetes/operator/memcached-operator$ microk8s.kubectl version
Client Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.1-34+97978f80232b01", GitCommit:"97978f80232b0141732accadfd29444095bcd54f", GitTreeState:"clean", BuildDate:"2021-01-11T12:20:27Z", GoVersion:"go1.15.6", Compiler:"gc", Platform:"linux/arm64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.1-34+97978f80232b01", GitCommit:"97978f80232b0141732accadfd29444095bcd54f", GitTreeState:"clean", BuildDate:"2021-01-11T12:29:09Z", GoVersion:"go1.15.6", Compiler:"gc", Platform:"linux/arm64"}

Kubernetes cluster kind:
Single node microk8s cluster on Raspberry Pi 4 4GB Ubuntu 20.04LTS ARM64

Additional context
Add any other context about the question here.

Issue no longer seems to exist. Closing.

Issue no longer seems to exist. Closing.

FATA[0000] Failed to install OLM version "latest": failed to get Kubernetes config:

@RyzeNGrind Looking at that error message, I would guess that you don't kubeconfig properly configured locally (e.g. KUBECONFIG isn't exported in your shell), or there's an issue with how the operator-sdk sets up the restconfig needed to interact with any k8s-related clients. Outside of that failure message, there isn't enough information to debug what happened further, so I'm going to close this out in the meantime. Feel free to re-open if you're able to reproduce this using a newer OLM minor version release.


[DOCFIX] Update Running-alluxio-locally.md of the Chinese version

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13551/
Test PASSed.

Merged build finished. Test PASSed.


Feature Request: Customizable Split Ratio for Tiles Layout

Thanks for developing such a great app! I wanted to suggest an enhancement regarding the tiles layout. In the current configuration, all windows are split equally to a ratio of 0.5. I am wondering if it's possible to introduce a setting that allows users to specify their desired split ratio.
Personally, I would prefer a golden ratio of 0.618. This is slightly larger than 0.5 and would help to ensure that my eyes are not constantly drawn to the split in the middle of the windows. At present, to avoid this distraction, I need to sit on one side of the table or constantly adjust my focus towards one side of the monitor.
This adjustment could work similarly to the split ratio settings in yabai, which you can read more about here: yabai split ratios.
Thank you!

Has anyone done a workaround for this? I was thinking some kind of script that would look at all the window sizes and then do a manual size command?

Yes. This is something that I'm really missing.
Currently, aerospace only knows about absolute values.
E.g., if you have to windows and increase one window's size so that you have your ration (say 2:1), then it only works on this monitor.
If i swap the workspace to another monitor (e.g, internal LCD), the ration looks totally different due to the absolute values do note represent a usefull ration on this screen.
I'd really love to have this feature!


Adds Cocoapods support for tvos

Adds tvos to deployment targets in podspec.

Please @zwaldowski push the changes on Cocoapods :+1: thank you very much!

We'll tag a release very soon, thanks!


Allow range expressions to be iterated through by for statements.

Closes #951
Also, sneakily fix the indexing in range for loops (the backend generated wrong code)

Cool stuff! :+1: (was there already a test for the fixed bug?)

@vendethiel
See the last two commits (test/compiler/control/foreach-range-generated.ooc)
This is basically the most complex case (side-effects, index variable) :)


[BUG][NOWEB] -  Docker container is being crashed again and again on Render

Describe the bug
Docker container is being crashed again and again on Render am I doing wrong or there is bug
Version
{
  "version": "2024.11.5",
  "engine": "NOWEB",
  "tier": "CORE",
  "browser": "/usr/bin/chromium"
}

Steps
To Reproduce Steps to reproduce the behavior:

Go to render.com
Signup and Click on New → Web Service → Existing Image
put image name 'devlokepro/waha'
add environment variable WHATSAPP_DEFAULT_ENGINE =NOWEB
deploy and then session is coming as stoped try to start
get the error in logs of render.

Expected behavior
should work fine.
Docker Logs
/app/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js:13
            throw err;
            ^
TypeError: Cannot read properties of undefined (reading 'get')
    at SessionManagerCore.getSessionEvent (/app/dist/core/manager.core.js:152:29)
    at /app/dist/core/abc/manager.abc.js:39:64
    at Array.map (<anonymous>)
    at SessionManagerCore.getSessionEvents (/app/dist/core/abc/manager.abc.js:39:44)
    at WebsocketGatewayCore.handleConnection (/app/dist/core/api/websocket.gateway.core.js:40:14)
    at Object.next (/app/node_modules/@nestjs/websockets/web-sockets-controller.js:77:47)
    at ConsumerObserver.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:113:33)
    at Subscriber._next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:80:26)
    at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at /app/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js:18:28
    at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
    at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at /app/node_modules/rxjs/dist/cjs/internal/Subject.js:69:34
    at Object.errorContext (/app/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
    at Subject.next (/app/node_modules/rxjs/dist/cjs/internal/Subject.js:59:24)
    at WebSocketServer.<anonymous> (/app/node_modules/@nestjs/websockets/web-sockets-controller.js:61:24)

Screenshots

Having the same issue with docker using WEBJS (2024.11.5)

Having the same issue with docker using WEBJS (2024.11.5)

Hi! Thank you a lot for the details!
Fixed in 2024.11.6 :rocket:


Add Support for Title attribute

This is a feature request, not an issue.  It would be nice to have additional property to over-ride the title attribute in the slack message.  Thanks a TON for the work on this little plugin, its great!

Sorry, I realized that what I was looking for actually was to support the 'username' field of the payload.  I have actually written the update and will post a PR soon.


remove unused variables

This is already done in a local branch as part of some additional refactoring, but thanks for the PR.


Element [ ] could not be unmarshalled as is not known in this context

I'm trying to unmarshal this WMS_Capabilities XML, but I'm getting this error:
Element [{http://mapserver.gis.umn.edu/mapserver}ms:GetStyles] could not be unmarshalled as is not known in this context and the property does not allow DOM content.
I've tried to add a mapping with the anyElement property to deal with it but I can't figure out how to get it to work. Is there a way to completely ignore elements that aren't known in the context?
Here is my code for my module and the context I'm using:
import {Jsonix as jsonix} from 'jsonix';
import {XLink_1_0 as xLink} from 'w3c-schemas';
import * as ogcSchemas from 'ogc-schemas';

const ANY_MODULE = {
  name: 'anyModule',
  typeInfos: [{
    type: 'classInfo',
    localName: 'AnyElementType',
    propertyInfos: [{
      type: 'anyElement',
      name: 'any',
      collection: true,
      allowDom: true,
    }],
  }],
  elementInfos: [{
    elementName: 'WMS_Capabilities',
    typeInfo: 'anyModule.AnyElementType',
  }],
};

export const WMS_CONTEXT = new jsonix.Context([
  ANY_MODULE,
  xLink,
  ogcSchemas.SMIL_2_0,
  ogcSchemas.SMIL_2_0_Language,
  ogcSchemas.GML_2_1_2,
  ogcSchemas.GML_3_1_1,
  ogcSchemas.Filter_1_0_0,
  ogcSchemas.Filter_1_1_0,
  ogcSchemas.SE_1_1_0,
  ogcSchemas.OWS_1_0_0,
  ogcSchemas.OWS_1_1_0,
  ogcSchemas.WMS_1_0_0,
  ogcSchemas.WMS_1_1_0,
  ogcSchemas.WMS_1_1_1,
  ogcSchemas.WMS_1_3_0,
  ogcSchemas.WMS_1_3_0_Exceptions,
  ogcSchemas.SLD_1_0_0,
  ogcSchemas.SLD_1_0_0_GeoServer,
  ogcSchemas.SLD_1_1_0,
]);

WMS 1.3.0 allows for extensions via wms:_ExtendedOperation. So basically you need a mapping which would define ms:GetStyles as a substitution for wms:_ExtendedOperation.
Actually the easiest would be simply compiling this schema:
http://ogc.bgs.ac.uk/cgi-bin/exemplars/BGS_Bedrock_and_Superficial_Geology/ows?language=eng&service=WMS&version=1.3.0&request=GetSchemaExtension
Otherwise check SLD_1_1_0.js for how GetLegendGraphic is defined.

Thanks for the quick response.
I've tried compiling that schema with
java -jar node_modules/jsonix/lib/jsonix-schema-compiler-full.jar -d jsonix/mappings -p GetStyles jsonix/schema/getstyles.xsd
But I get a few errors and it fails:
[ERROR] Property "Title" is already defined. Use <jaxb:property> to resolve this conflict.
  line 232 of http://www.w3.org/1999/xlink.xsd

[ERROR] The following location is relevant to the above error
  line 219 of http://www.w3.org/1999/xlink.xsd

[ERROR] Property "Title" is already defined. Use <jaxb:property> to resolve this conflict.
  line 261 of http://www.w3.org/1999/xlink.xsd

[ERROR] The following location is relevant to the above error
  line 246 of http://www.w3.org/1999/xlink.xsd

[ERROR] org.hisrc.jsonix.execution.JsonixInvoker - The model is null, there was probably a problem parsing schemas.

Yes, OGC schemas are a bit hard to compile. It will be probably easier if you just write mappings manually. Probably something like:
var MS_1_0_0_Module_Factory = function () {
  var MS_1_0_0 = {
    n: 'MS_1_0_0',
    dens: 'http://mapserver.gis.umn.edu/mapserver',
    deps: ['OWS_1_0_0', 'SE_1_1_0', 'Filter_1_1_0', 'GML_3_1_1', 'WMS_1_3_0'],
    tis: [],
    eis: [{
        en: 'GetStyles',
        ti: 'WMS_1_3_0.OperationType',
        sh: {
          lp: '_ExtendedOperation',
          ns: 'http:\/\/www.opengis.net\/wms'
        }
      }]
  };
  return {
    MS_1_0_0: MS_1_0_0
  };
};
if (typeof define === 'function' && define.amd) {
  define([], MS_1_0_0_Module_Factory);
}
else {
  var MS_1_0_0_Module = MS_1_0_0_Module_Factory();
  if (typeof module !== 'undefined' && module.exports) {
    module.exports.MS_1_0_0 = MS_1_0_0_Module.MS_1_0_0;
  }
  else {
    var MS_1_0_0 = MS_1_0_0_Module.MS_1_0_0;
  }
}

No guarantees, but you get the idea.

Thanks. I've got it working now by writing the mappings manually and compiling inspire_common.
In case they are useful to anyone else:
const MAP_SERVER_1_0_0 = {
  name: 'mapServer',
  dens: 'http://mapserver.gis.umn.edu/mapserver',
  deps: ['WMS_1_3_0'],
  eis: [{
    en: 'Service',
  }, {
    en: 'GetStyles',
    ti: 'WMS_1_3_0.OperationType',
    sh: {
      lp: '_ExtendedOperation',
      ns: 'http://www.opengis.net/wms',
    },
  }],
};

const INSPIRE_VS_1_0_1 = {
  name: 'inspire_vs',
  dens: 'http://inspire.ec.europa.eu/schemas/inspire_vs/1.0',
  deps: ['WMS_1_3_0', 'INSPIRE_COMMON_1_0_1'],
  eis: [{
    en: 'ExtendedCapabilities',
    ti: 'INSPIRE_COMMON_1_0_1.ExtendedCapabilitiesType',
    sh: {
      lp: '_ExtendedOperation',
      ns: 'http://www.opengis.net/wms',
    },
  }],
};


Add dotnet vstest deprecation message

/azp run

From technical point of view it looks good, if our PM approves, then let's go.


Increase delays for p-stop test

We have been seeing flakiness in the p-stop test, so cranking up some timeouts / delays.
NOTE: I had to fall to --executor sequential because the integration and p-stop tests were clashing with each other ☹

the integration and p-stop tests were clashing with each other
Q: Is this to be expected or is there something we would have to fix so that this doesn't happen? Or is it simply that colcon test is not intended for integration testing?

I think the robot description topics in these integration tests are clashing with each other now that the moveit_studio_ur_pstop_manager tests are active for longer. I'm going to merge this and we probably want to keep investigating how to ensure the integration test packages don't run in parallel with each other without going full sequential.


Change start-up flag kDisableNotifications from jelly bean to ICS to …

…resolve no notifications on android 4.0
BUG=XWALK-4669
Related to:XWALK-3645
It's a regression caused by upstream dropping support for Android ICS and our subsequent patches to reenable it. So I back this patch to crosswalk15

@rakuco I back it to crosswalk15 here.

almost there-- you forgot to use git cherry-pick -x like we usually do when backporting a patch from a different branch.

Done, Thanks!

thanks.
don't forget to roll DEPS.xwalk in both affected Crosswalk branches.

Got it. Thanks!


How to disable Flow and ESLint without tears?

When i build my application, i see White Screen of Death?
Please help, How to disable Flow and ESLint?
Thanks. :+1:

See https://github.com/chentsulin/electron-react-boilerplate/issues/1479


Provider crashed with context canceled

I'm sad raising a issue again which I already found closed (#447): The provider 1.0.0-rc.3 crashes with the following message: plugin6.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Canceled desc = context canceled
In the same workspace a Kubernetes Cluster on Azure with AKS is deployed. I manually checked the connectivity with cURL and can reach the API and connect with the TLS certificates.
Also enabled as much logging I can TF_LOG=TRACE.
2023-05-23T19:53:01.391Z [TRACE] GRPCProvider.v6: ApplyResourceChange
2023-05-23T19:53:01.393Z [TRACE] provider.terraform-provider-flux_v1.0.0-rc.3: Received request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/fluxcd/flux tf_resource_type=flux_bootstrap_git tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov6/tf6server/server.go:803 @module=sdk.proto tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 timestamp=2023-05-23T19:53:01.391Z
2023-05-23T19:53:01.393Z [TRACE] provider.terraform-provider-flux_v1.0.0-rc.3: Sending request downstream: tf_provider_addr=registry.terraform.io/fluxcd/flux tf_proto_version=6.3 tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_resource_type=flux_bootstrap_git tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov6/internal/tf6serverlogging/downstream_request.go:17 @module=sdk.proto timestamp=2023-05-23T19:53:01.391Z
2023-05-23T19:53:01.393Z [TRACE] provider.terraform-provider-flux_v1.0.0-rc.3: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/fluxcd/flux tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server.go:339 @module=sdk.framework tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_resource_type=flux_bootstrap_git timestamp=2023-05-23T19:53:01.391Z
2023-05-23T19:53:01.393Z [TRACE] provider.terraform-provider-flux_v1.0.0-rc.3: Checking ResourceSchemas lock: @caller=github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server.go:413 tf_rpc=ApplyResourceChange tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_resource_type=flux_bootstrap_git @module=sdk.framework tf_provider_addr=registry.terraform.io/fluxcd/flux timestamp=2023-05-23T19:53:01.391Z
2023-05-23T19:53:01.393Z [TRACE] provider.terraform-provider-flux_v1.0.0-rc.3: ApplyResourceChange received no PriorState, running CreateResource: @caller=github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server_applyresourcechange.go:42 tf_provider_addr=registry.terraform.io/fluxcd/flux @module=sdk.framework tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_resource_type=flux_bootstrap_git tf_rpc=ApplyResourceChange timestamp=2023-05-23T19:53:01.392Z
2023-05-23T19:53:01.393Z [TRACE] provider.terraform-provider-flux_v1.0.0-rc.3: Resource implements ResourceWithConfigure: tf_resource_type=flux_bootstrap_git tf_provider_addr=registry.terraform.io/fluxcd/flux tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server_createresource.go:43 @module=sdk.framework timestamp=2023-05-23T19:53:01.392Z
2023-05-23T19:53:01.393Z [DEBUG] provider.terraform-provider-flux_v1.0.0-rc.3: Calling provider defined Resource Configure: @caller=github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server_createresource.go:50 @module=sdk.framework tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_resource_type=flux_bootstrap_git tf_rpc=ApplyResourceChange tf_provider_addr=registry.terraform.io/fluxcd/flux timestamp=2023-05-23T19:53:01.392Z
2023-05-23T19:53:01.393Z [DEBUG] provider.terraform-provider-flux_v1.0.0-rc.3: Called provider defined Resource Configure: @module=sdk.framework tf_provider_addr=registry.terraform.io/fluxcd/flux tf_resource_type=flux_bootstrap_git tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server_createresource.go:52 tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 timestamp=2023-05-23T19:53:01.392Z
2023-05-23T19:53:01.393Z [DEBUG] provider.terraform-provider-flux_v1.0.0-rc.3: Calling provider defined Resource Create: tf_provider_addr=registry.terraform.io/fluxcd/flux tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server_createresource.go:96 @module=sdk.framework tf_resource_type=flux_bootstrap_git timestamp=2023-05-23T19:53:01.392Z
2023-05-23T19:53:01.393Z [INFO]  provider.terraform-provider-flux_v1.0.0-rc.3: create timeout configuration not found, using provided default: @caller=github.com/hashicorp/terraform-plugin-framework-timeouts@v0.3.1/resource/timeouts/timeouts.go:105 tf_req_id=ce635d8e-fa36-5a2e-bb8f-9aca99bb9ce8 tf_resource_type=flux_bootstrap_git tf_rpc=ApplyResourceChange @module=flux tf_provider_addr=registry.terraform.io/fluxcd/flux timestamp=2023-05-23T19:53:01.392Z
2023-05-23T19:53:01.412Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:06.170Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:06.413Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:11.172Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:11.414Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:16.172Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:16.415Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:21.239Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:21.474Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:26.340Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:26.583Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:31.443Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:31.959Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:36.672Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:37.232Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:41.782Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:42.376Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:46.885Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:47.524Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:52.011Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:52.760Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:53:57.431Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:53:58.091Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:54:12.060Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/fluxcd/flux\"] (close)"
2023-05-23T19:54:12.782Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" is waiting for "flux_bootstrap_git.this"
2023-05-23T19:54:12.822Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/fluxcd/flux/1.0.0-rc.3/linux_amd64/terraform-provider-flux_v1.0.0-rc.3 pid=105 error="signal: killed"
2023-05-23T19:54:12.825Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Canceled desc = context canceled"
2023-05-23T19:54:12.828Z [ERROR] plugin6.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Canceled desc = context canceled"
2023-05-23T19:54:12.834Z [TRACE] maybeTainted: flux_bootstrap_git.this encountered an error during creation, so it is now marked as tainted
2023-05-23T19:54:12.837Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for flux_bootstrap_git.this
2023-05-23T19:54:12.838Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for flux_bootstrap_git.this
2023-05-23T19:54:12.838Z [TRACE] evalApplyProvisioners: flux_bootstrap_git.this is tainted, so skipping provisioning
2023-05-23T19:54:12.839Z [TRACE] maybeTainted: flux_bootstrap_git.this was already tainted, so nothing to do
2023-05-23T19:54:12.839Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for flux_bootstrap_git.this
2023-05-23T19:54:12.839Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for flux_bootstrap_git.this
2023-05-23T19:54:12.843Z [ERROR] vertex "flux_bootstrap_git.this" error: Request cancelled
2023-05-23T19:54:12.843Z [TRACE] vertex "flux_bootstrap_git.this": visit complete, with errors
2023-05-23T19:54:12.844Z [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/fluxcd/flux\"] (close)" errored, so skipping
2023-05-23T19:54:12.844Z [TRACE] dag/walk: upstream of "root" errored, so skipping
2023-05-23T19:54:12.845Z [DEBUG] cloud/state: state read serial is: 19; serial is: 19
2023-05-23T19:54:12.845Z [DEBUG] cloud/state: state read lineage is: c952e7c2-bcca-5d3b-8a38-8622941e4e02; lineage is: c952e7c2-bcca-5d3b-8a38-8622941e4e02
2023-05-23T19:54:13.355Z [DEBUG] provider: plugin exited

Configuration
terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "3.54.0"
    }

    azuread = {
      source  = "hashicorp/azuread"
      version = "2.38.0"
    }

    flux = {
      source  = "fluxcd/flux"
      version = "1.0.0-rc.3"
    }

    github = {
      source  = "integrations/github"
      version = "5.24.0"
    }

    tls = {
      source  = "hashicorp/tls"
      version = "4.0.4"
    }
  }

  backend "remote" {
    hostname     = "<redacted>"
    organization = "<redacted>"

    workspaces {
      name = "<redacted>"
    }
  }
}

provider "azurerm" {
  features {}
}

provider "azuread" {}

provider "flux" {
  kubernetes = {
    host                   = module.aks.admin_host
    client_certificate     = base64decode(module.aks.admin_client_certificate)
    client_key             = base64decode(module.aks.admin_client_key)
    cluster_ca_certificate = base64decode(module.aks.admin_cluster_ca_certificate)
  }

  git = {
    url =<EMAIL_ADDRESS>    ssh = {
      username    = "git"
      private_key = tls_private_key.this.private_key_pem
    }
  }
}

provider "github" {
  app_auth {
    id              = var.github_app_id
    installation_id = var.github_app_installation_id
    pem_file        = var.github_app_pem_file
  }
}

data "azurerm_client_config" "current" {}

resource "tls_private_key" "this" {
  algorithm = "ED25519"
}

resource "github_repository_deploy_key" "this" {
  repository = var.repository
  title      = "Flux Key for Cluster"
  key        = tls_private_key.this.public_key_openssh
  read_only  = true
}

resource "azurerm_resource_group" "this" {
  name     = "cluster"
  location = var.location
}

resource "azurerm_virtual_network" "this" {
  name                = "cluster-vnet"
  location            = azurerm_resource_group.this.location
  resource_group_name = azurerm_resource_group.this.name

  address_space = ["<IP_ADDRESS>/16"]
}

resource "azurerm_subnet" "this" {
  name                 = "cluster-subnet"
  resource_group_name  = azurerm_resource_group.this.name
  virtual_network_name = azurerm_virtual_network.this.name

  address_prefixes = ["<IP_ADDRESS>/24"]
}

module "aks" {
  source  = "Azure/aks/azurerm"
  version = "6.8.0"

  prefix                    = "cluster"
  resource_group_name       = azurerm_resource_group.this.name
  kubernetes_version        = "1.25"
  automatic_channel_upgrade = "patch"

  agents_size               = "Standard_D16s_v5"
  agents_count              = 2
  agents_pool_name          = "nodepool"
  agents_availability_zones = ["1", "2"]
  # Used when agent_size is changed
  temporary_name_for_rotation = "temp"

  node_resource_group = "cluster-nodepool"

  enable_auto_scaling    = false
  enable_host_encryption = true

  admin_username                  = null
  azure_policy_enabled            = true
  log_analytics_workspace_enabled = false

  network_plugin = "azure"
  network_policy = "azure"
  vnet_subnet_id = azurerm_subnet.this.id

  rbac_aad                          = true
  rbac_aad_managed                  = true
  role_based_access_control_enabled = true

  depends_on = [azurerm_resource_group.this]
}

resource "flux_bootstrap_git" "this" {
  path = "path/to/cluster"

  depends_on = [module.aks]
}

Wow! Same for me!
My environment is running on top of GKE on GCP, v1.24.11-gke.1000
I opened this other issue before read this ..... https://github.com/fluxcd/terraform-provider-flux/issues/487

Hey, i don't use the provider anymore and can't help to reproduce this issue again. Sorry.


^  TypeError: TronWeb.createAccount is not a function

  let wallet = await TronWeb.createAccount();
                               ^

TypeError: TronWeb.createAccount is not a function

这库真难用

How you import TronWeb? Since TronWeb has released v6.0.0 version, you need to use named import like this:
import { TronWeb } from 'tronweb';


react/no-unused-prop-types skipShapeProps with flow.js

There's modifier for this rule called "skipShapeProps": true but it doesn't work when you use flow for prop types declarations, ex:
...
props: {
  foo: {}
}
...
render() {
  return <SomeComponent foo={this.foo} />
}

Works
But If I'm more specific and provide the shape of foo, ex:
props: {
  foo: { a: number }
}

It fails with error that foo.a is not beeing used.
I would like it to detect that I passed foo to some children and mark foo.a as used.
Otherwise, I cannot import specific type declarations, when I have to pass value down through some components.

Running into the same issue, not sure on how to disable eslint react rule only for this... any ideas?

@ljharb  this was fixed in https://github.com/yannickcr/eslint-plugin-react/pull/1341 Thanks!

Fixed in #1341 :-)


Add next-app-shell plugin

Add to Readme file this new plugin we made, to be used along with next-offline.

Hey! We're deprecating this repository hence why this PR hasn't been merged. I just updated the readme. You can try adding it to the community awesome list: https://github.com/unicodeveloper/awesome-nextjs.


CU 10 (august 2019) has Runtime 2.4

my infrastructure guy just install the new BC with CU 10 (August 2019), I double-checked and its runtime is 2.4
I even get the below error when I try to install an extension with Runtime 3.0:
The runtime version of the extension package is currently set to '3.0'. The runtime version must be set to '2.4' or earlier in the app.json file in order to install the extension package on this platform.

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

ID: 5b9e8228-e083-4965-22d3-0df35c09ac5d
Version Independent ID: 3707c154-ea6e-c317-217d-6d0e75570c1e
Content: JSON Files - Business Central
Content Source: dev-itpro/developer/devenv-json-files.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hello, this repo is meant for doc issues and bugs. Please contact your usual support channel to get help with the issue reported. Thanks.


Add test case for sendLocalResponse

Signed-off-by: Joshua Blatt<EMAIL_ADDRESS>

yuck.  will cleanup the history here


How do I view the maximum concurrency in 1 second during runtime?

Description of issue / feature request
feature request：
View the maximum number of concurrency in 1 second during run
Expected behavior
1，Able to view the maximum number of concurrences in 1 second on the console
2，Able to view the maximum number of concurrences in 1 second on the console
Actual behavior
There is no
Environment settings (for bug reports)

OS: win10
Python version: 3.6
Locust version: 0.9

not clear what this means.


better inline support

Proposed shuffling of qualifier names (by @nikswamy)
In various places, esp. in Kremlin, we need some definitions to be
inlined only during extraction, not during type-checking. F* does not
yet support such a feature: the 'inline' qualifier inlines a
definition during unification and VC generation, which is too early
for this use case.
So, I propose:

Remove the current 'unfoldable' keyword. It is the default
qualifier anyway and never needs to be explicitly denoted in the
source program. Let's refer to it during discussions as 'visible'.

Rename the current 'inline' keyword to 'unfold', preserving its
meaning, i.e., the type-checker will aggressively unfold the
definition during unification and VC generation.

Use 'inline' to signify that a definition must be inlined during
compilation only. For unification/VC generation purposes, the 'inline'
qualifier has no significance.

Note, inline is compatible with the other visibility qualifiers. So,
you can write
     inline irreducible let f x = 0
or       inline abstract let f x = 0
or       inline unfold let f x = 0

which means that for type-checking purposes, f's definition is
irreducible/abstract/unfold, but during compilation, the definition
will be definitely be inlined. (edited)

Following our discussion:
I will implement this gradually.
First, the 'inline' keyword will temporarily be made illegal. You will have to change all uses of 'inline' in your code to 'unfold'
Second, I will add a new temporary keyword 'inline_for_extraction' which you can start using to control inlining in compiled code.
Finally, in about a week, I will add support for the 'inline' keyword, replacing 'inline_for_extraction'
This convoluted path is to prevent existing code from breaking mysteriously due to renaming inline to unfold. It will instead break immediately and obviously.

I think the ship has sailed on this one. We have inline_for_extraction  and unfold and we use it extensively. It is verbose but explicit and arguably better than ``inline`. Closing this issue.


Server list can be outdated

The client can have a live server list with a websocket to the servermanager, or fetch it every time the player goes back to the title screen
The custom ws url should also get updated whenever the window location hash gets added, changed or removed without a refresh

I think this gets fixed by #90?

Oh sorry, I misinterpreted. A websocket with live player count info would be nice, but could also become an easy attack vector. I think refreshing the servers list every time the player goes back to the title screen would be good enough.
It could also be refreshed when a connection to a gameserver fails.


Spelling mistake

https://nhsrway.nhsrcommunity.com/community-handbook.html#getting-calendar-invitations
go it needs to be got it

Closed by #157


Python Debugger ignores "uncaught/raised exceptions" box

VSCode Version: 1.45.1
OS Version: Manjaro Linux

Hello!
New python debugger ignores boxes of exceptions setup.
If exception raises from try/except code block it should be silent, but it's not.
Steps to Reproduce:

Setup breakpoin boxes like that:

Start debugging python code with try/except code block
Get exception notification/window

Does this issue occur when all extensions are disabled?: No, python debugger is extension

/extPython


Fix/first boot errors

I tested this out today and came across some errors with the uSync files.
I spoke to Kevin Jump and he told me that the uSync appSetting was slightly wrong and that it was failing to do the first boot import due to Example page 6 and Example Page 7 being in the trash.
So this PR fixes the uSync appSetting and deletes those 2 uSync files for the trashed items.
With those things fixed the content and settings restore properly on first boot now.
 By pasting this into the command line in a new folder, it creates the site and runs it and gets you to the Umbraco Installer.
# Ensure we have the latest UmBootstrap template installed
dotnet new install Umbraco.Community.Templates.UmBootstrap

# Create solution/project
dotnet new sln --name "MySolution"
dotnet new umbootstrap -n "MyProject"
dotnet sln add "MyProject"

dotnet run --project "MyProject"
#Running

@deanleigh This makes sense to not include in the package.
It will mean you either need to manually run the import when deploying to your demo site, or to add an environment value on the server to trigger it


cpu: Indirect predictor track conditional indirect

As discussed in https://github.com/orgs/gem5/discussions/954:
In the refactor made by commit f65df9b959d8e2fc3b5 conditional indirect branches are no longer updated in the indirect predictor.
This kind of branches do not exist in x86 neither arm, but they are present in PowerPC.
This patch, enables the indirect predictor to track this kind of branches.

Hi @OdnetninI,
None of the commits in this pull request contains a Change-ID, which we require for any changes made to gem5.   Thank you.

Hi @ivanaamit,
Sorry about it, I had to re-configure everything after receving an attack through ssh, and I forgot to add the git hooks again when cloning the repository again.
Now, it should be fixed :)


UI changes for index and sponsors pages

[ ] For the sake of simplicity, I think it's best to move the dynamically generated sponsors info page to the bottom of the index/home page. The sponsors info currently disappears when you login, but...
[ ] ...we should make the home page always accessible, even after logging in. It should be on the left side of the navbar. This page is where the CTF description, rules, etc would go. IMO is makes sense to keep this meta together.

Fixed by #280
/close


Unconditional debug output console.log(source, material); may affect performance

The debug output should only run in some debug mode (you could use the debug package for that).
https://github.com/wizgrav/aframe-effects/blob/776d69fb4c3757b7bb544146cea164bd008b514e/systems/effects.js#L260-L270
https://github.com/wizgrav/aframe-effects/blob/c4f9cdb48cc95d2af2bc3ff4bf63edff472d3697/dist/aframe-effects.js#L496-L516

You're right, I think and approach could be to check if the debug component is set on the a-scene element. Thanks for noticing

an approach could be to check if the debug component is set on the a-scene element.

Querying the browser DOM is slow compared to querying a JS variable. Especially repeatedly.

But of course both approached should be benchmarked to find the most performant.
Using the de-facto standard debug module lets the users to remove the debug calls in production builds. Using the a-scene debug component may require extra dancing to strip that out.

Ok do you want to submit a PR?


InstallToVSCode: Update to CoreCLR/CoreFx 23819

This fixes the InstallToVSCode script to use CoreCLR/FX 23819

:+1:


Docs: System.js / jspm usage

Moving from https://github.com/6to5/6to5/issues/636
ping @guybedford

The setup for jspm is to choose 6to5 as the transpiler during init, or by running jspm init -p. It can also be enabled with jspm dl-loader --6to5.
For SystemJS the configuration is to set System.config({ parser: '6to5', to5Options: {...} });.

This should be added to https://babeljs.io/docs/using-babel/ under "build systems".

Do we still need to update https://github.com/babel/babel.github.io/tree/master/_includes/tools/jspm?

This is in fine I guess. I will post a PR as well when jspm 0.17 is out as these instructions will change.


Control_allocation: implemented full allocation with desaturation

Got rid of the multirotor mixer dependency.

@jlecoeur Sorry, I ran  a bit out of time, so I wasn't able to fully clean this up.
I verified that the IRIS flies in SITL.

Great!
I will have a closer look later, but a remark already: can you put this in a new class?

as this is now more generic, let's find a better name than ControlAllocationMultirotor, maybe @bresch has a name for the desaturation method?
until these new allocation implementations are fully tested, I think it is good to keep the legacy mixer code alive for some time.

Replaced by #13519


Re-write Ruby Style Guide

On reviewing this page it seemed to provide very little general Ruby
information and lots of specific RSpec information. This felt a little
lopsided. I've now re-written this to have a heavier emphasis on
general, broad Ruby conventions.
The RSpec documentation has been removed as it seemed an odd fit for GDS
Way and felt like it exposed more of the GOV.UK programmes preferences
than it did GDS conventions. Some of the information in it was
out-of-date, for example the example given, with it's use of subject,
would flag as a violation with rubocop-govuk. I've instead included a
single paragraph to explain the preference for RSpec.
I've included links to some GOV.UK Ruby documentation that should be
helpful for further Ruby understanding. The Rails conventions
documentation covers a variety of the same areas as the RSpec
documentation did so this information should remain accessible.

D'oh - thanks @ChrisBAshton


PLNSRVCE-420 : Implement Tekton results for openshift development

Implement Tekton Results and Postgresql DB for openshift development
Signed-off-by: Cathal O'Connor<EMAIL_ADDRESS>

@CathalOConnorRH

The directory structure we have setup for using ArgoCD follows "app of apps" pattern. Under gitops/argocd, we only maintain argocd.yaml as the parent or root app and individual components go under argocd-apps (which is called from argocd.yaml).

So, tekton-results.yaml also should go under gitops/argocd/argo-apps. The manifests (tekton-results folder) however are good to be under gitops/argocd. Please make this change and update any path calling the script accordingly.

Some Readme on Tekton Results would be nice. Minimally, you could mention what results is for and the end result we could see out of this. Additionally, if there is any setup they would need to do or some configuration they can update etc.

@CathalOConnorRH My understanding is that this PR includes the manifests to deploy the database on the target cluster. My understanding is that this is not the "production" model, which will use a managed service as the DB backend.
If that's correct, you'll need to split the manifest into 2:

Under _ckcp: Create a folder with the manifests to deploy the DB.
Under gitops/argocd/tekton-results: manifests to deploy the tekton-result api and configure the connection to the DB.

Closing this in favour of https://github.com/openshift-pipelines/pipeline-service/pull/227


Add Chinese Games search with  first letter of pinyin

Added Chinese search support for Chinese players. For example, "宝可梦" can be searched through "BKM"，the first letter of each Chinese pinyin in the word.
为中国玩家添加中文搜索支持。比如“宝可梦” 可以通过“BKM”搜索。即单词中每个汉字拼音的首字母

Or is there an API interface that can specify a search alias for the ROMs, and I can generate an index file for the ROMs?

I'm not sure I fully understand the question but if you're looking to search all your games, just press start>game collection settings>automatic game collections>all games.  After emulationstation refreshes the screen, you can then press the y button to search your games.

Any further update on this request?

For example, There is .xml files in my TF2 roms:

./Armor..Attack (World).zip
Z 装甲奇袭[ZJQX]
./image/Armor..Attack (World).png
		./video/Armor..Attack (World).mp4

.....
I want to search "ZJQX" to find this game。 I can't search that in "all games"

xml file：“BKMHBS”

game list：“BKMHBS”

search：“BKM”

not found：

@christianhaitian updated

Sorry, I don't know how to resolve this issue.

Hey @christianhaitian Sorry for responding to a closed issue but I think I can give an explanation and possibly create a PR for this feature.
Currently, game searching doesn't work well with non-Latin languages, especially CJK (Chinese, Japan and Korean) character set. With an English keyboard it's impossible to search rom names in CJK. A common solution is to latinize CJK character set so there's a way to index the names and make them searchable.
I'll use Chinese characters as the example 'cause I'm mostly familiar with it. "Pinyin" is a mapping that latinize Chinese to make them usable in modern keyboard and pronounceable by those who don't know Chinese language. Most of the daily Chinese names you see is Pinyin.
Since Pinyin tends to prolong the word length, typing fullnames could be very tiring. The popular way is to extract the first character of Pinyin result for each character and use that as a searching keyword. In OP's example, 宝可梦 (Pinyin: Bao Ke Meng; English: Pokemon) should show in the result if you search BKM, and Z 装甲奇袭 (Pinyin: Z Zhuang Jia Qi Xi) should be searchable by ZZJQX.
To achieve we need to compile a pinyin database and index the latinized names. There are datasets on Github (Example1 Example2) we can utilize the make the database.
Let me know if you wanna this feature. I can pick it up and give it a try.

Hi, sure if it's something that can be incorporated into emulationstation via PR, i'd be happy to review it, test it to confirm nothing else breaks as best as I can, merge it and deliver it in a future update.   The source for emulationstation used in ArkOS is here: https://github.com/christianhaitian/EmulationStation-fcamod/tree/503noTTS


grafana 查询traceid   attribute.requestid 不生效[BUG]

Search before asking

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

DeepFlow Component
Grafana Dashbaord
What you expected to happen
1 在页面上查询trace_id 是有的，但是通过grafana 和数据库查询就没有

2 我写了一个wasm 插件把trace_id 提取到attribute.requestid里面，grafana页面有，但是加上where条件后就没有

How to reproduce
No response
DeepFlow version
No response
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
No response
Anything else
No response
Are you willing to submit a PR?

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

Code of Conduct

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

先简化一下查询语句后，在clickhouse查询看一下效果，先不用在 grafana 中经过插件转换：


While it's still theoretically possible for us to fall behind on the finalizers queue since there's no backpressure on it, it looks like we keep up just fine now in practice, even without any sleeps or explicit Goscheds. I guess there have been some improvements to the scheduler in the past five years. :)

I would guess that the relevant change was invoking the finalizer queue from the sysmon thread, in https://golang.org/cl/75960043.


Threading update

Short description of what this resolves:
Implements threading for credential and proof exchange. Removes support for multi-party credential offers temporarily.
Changes proposed in this pull request:

Threading for credential exchange.
Threading for proof exchange.
Removes multiparty credential offers temporarily.
Bumps version to 3.0.0 to start preview packages prior to official 3.0.0 release.

This ledger issue is very annoying.


New version: Unity.Unity.2022 version 2022.3.13f1

Description

Manifests created via Komac v1.11.0 on GitHub Codespace
Resolve https://github.com/microsoft/winget-pkgs/issues/127093

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @Dragon1573,
Manual Validation ended with:

Should this package have ElevationRequirement: elevationProhibited?

@stephengillie - According to #102996 , you labeled this property with ElevationRequirement: elevatesSelf. But that PR can successfully pass the pipeline.
Wierd ...

@ stephengillie - According to #102996 , you labeled this property with ElevationRequirement: elevatesSelf. But that PR can successfully pass the pipeline.
Wierd ...

Hi @Dragon1573,
This package passes the basic test of "launch and remain running for 10 seconds, then exit without errors" when running as administrator, while displaying a message that this is a bad idea.