Listening Server sent events using esp http client (IDFGH-5029)

esp_http_client library should support listening server sent events
I want to call Firebase Streaming REST API to listen Server-Sent Events on esp32 http client. So that if any other client push changes to server database esp http client get notified for these changes.
Here is the link for firebase Streaming REST API use case documentation:
https://firebase.google.com/docs/database/rest/retrieve-data#section-rest-streaming
In the above documentation the main guide line is to set the client's accept header to text/event-stream. So I want to know is there any support exist for such APIs? If not then is there any plan for the support for streaming APIs in future?
I think its a useful feature and also esp-idf don't have the support for Firebase integration which is a commonly used cloud platform, so if esp-idf support listening server sent events then developers can have Firebase Realtime database integration using Streaming REST APIs for their IoT devices.

This would be great


187391225 add committees info

Pivotal Tracker Link

What this PR does:

This pull request fixes|implements (pick one...)
https://github.com/snap-cloud/snapcon/issues/19
Include screenshots, videos, etc.

Who authored this PR?

Warren Huang
How should this PR be tested?
Test for this feature is omitted since the similar features i.e. include_sponsor and include_hightling don't have test for them as well.

Is there a deploy we can view?
What do the specs/features test?
Are there edge cases to watch out for?

Are there any complications to deploying this?

Checklist:

[x] Has this been deployed to a staging environment or reviewed by a customer?
[x] Tag someone for code review (either a coach / team member)
[x] I have renamed the branch to match PivotTracker's suggested one (necessary for BlueJay)

Can you add a few tests for it (just some simple capybara test that validates its existence would be fine, and maybe test that the toggle is working)


Target lower netstandard version in Key Vault preview library

Hi, I've seen that there is now a preview package of Azure Key Vault on nuget.org - that's great news! However IMO targeting netstandard1.5 is pretty high.
It would be great if you could go down to at least netstandard1.3 to also support Universal Windows Platform and to make it easier for other libraries to depend on this library.
Also, I think you should upgrade to Newtonsoft.Json 9.0.1 - this would probably allow you to drop your imports directives in your project.json. Most netstandard libraries I've seen moved to this version - even ASP.NET Core.

@cwe1ss We are targeting the same version of NetStandard as the rest of the SDK and currently have no plans to support a lower version. We do also build for .NET 4.5.x as well.

Ok, thx for the info!


Create a more obvious entry point into the ember application from the landing page

attached screenshot has a button to encourage entry into the system. I'm open to alternatives. Basically novice users needs to be drawn into entering the system - somehow

done in this pr https://github.com/OA-PASS/pass-ember/pull/367


Workaround for network restrictions?

I'm having a rather niche problem I'm afraid...
Expected Behavior
Installed and tested bot on work laptop at home, it worked.
Actual Behavior
I'd like to run it at work, but after login the character doesn't move and no logs are reported.
In the git cmd, it gets stuck on:
'Python: (date+time) [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com'
After a while i get an error:
'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range (128) (url: https://app.getsentry.com/api/90254/store/) ...
followed by:
max retries exceede with url /collect ...
which i guess meant that he tried to much and it didn't help?
Steps to Reproduce
Network restrictions, probably?
Can someone tell me if there is some sort of workaround or am i just screwed? :(
Information

OS: windows 7
Git commit: 584782fa1425e19ff9d94d16728d95781ade3312

Using your work wifi (if available) on your phone, are you able to play the game?
Most likely a bot issue and not related to the desktop app I'm afraid.

Nope, no wifi... 4G reception for tethering is not good enough inside.
should i post this in the main bot issues page?

You may try to disable the health check in your config file (since it seems to get stuck on connection to google analytics) but yeah the guys on the bot repos should be more helpful than me.

Hmm... i can't see the option in my config.json, where is it?

nvm i'm blind. found it.
That skips the health check, but i get the same problem at the login. probably not solvable in the program, will have to fix a vpn i suppose.


Fixing missing shared lib

Running conda-inspect revealed that we are missing libquadmath. This PR should it.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


DGE with gene signatures

Determine most statistically robust means of implementation and proceed.

This is a duplicate of #26.


error in usage

the pykwalify usage is in conflict with the documentation on readthedocs
usage:
-d FILE, --data-file FILE            the file to be tested
-s FILE, --schema-file FILE          schema definition file
readthedocs:
pykwalify -d data.yaml -s schema.yaml

Related PR merged. Thanks.


telemetry-k8s test fails with too many child spans

https://prow.istio.io/view/gcs/istio-prow/logs/integ-telemetry-k8s-postsubmit-tests-master/712
https://prow.k8s.io/view/gcs/istio-prow/logs/integ-telemetry-k8s-postsubmit-tests-master/651
Gets errors like

    tracing.go:132: got 3 child spans from, want 2 child spans, maybe trace has not be fully reported
    tracing.go:132: got 3 child spans from, want 2 child spans, maybe trace has not be fully reported
    tracing.go:132: got 3 child spans from, want 2 child spans, maybe trace has not be fully reported
    tracing.go:132: got 3 child spans from, want 2 child spans, maybe trace has not be fully reported
    tracing.go:132: got 3 child spans from, want 2 child spans, maybe trace has not be fully reported

Should this be an error? Should we expect >= 2 instead of == 2?

Fixed #16788


Missing modules after install

I tried installing a few times with pip install arabica (Windows), there were no errors but some modules are missing, for example the coffee_break. Here are the modules that got installed:
11/12/2023  09:54              .
11/12/2023  10:21              ..
11/12/2023  09:54            10,748 arabica_freq.py
11/12/2023  09:54            23,228 cappuccino.py
11/12/2023  09:54             1,684 clean_ngram.py
11/12/2023  09:54               146 clean_numbers.py
11/12/2023  09:54             1,850 group.py
11/12/2023  09:54               460 preprocess.py
11/12/2023  09:54               449 stopwords.py
11/12/2023  09:54                77 init.py
11/12/2023  09:54     pycache

Hi @karwester, I’ve just installed current Arabica, and run Jupyter and Python codes with arabica_freq, coffee_break, and cappuccino methods on Collab (python == 3.10.12) and on clean environments with python == 3.10.13, 3.9.18 and 3.8.18,  (windows) in Pycharm and Dataspell. The same for GitHub actions on clean virtual machines for 3.8 and 3.9.
There seems to be an issue with your Python configuration. Which error does it produce?


BUG: domain not able to load it

Hi there,
Docker-compose : latest
Distrib : CentOS 7.7
Docker version 20.10.10
Since today, my container is not able to load domains.
I'm pulling the latest version got the kind of error, Am I missing something in the configuration, I can pull the data in HTTP but in not HTTPS by doing

curl https://<IP_ADDRESS>:8081
curl: (35) SSL received a record that exceeded the maximum permissible length

Does powerDNS_Admin got an option to deactivate this feature ? to after  reactivate it in a possible future migration to upgrade or do the changes
Error in docker :

powerdns_admin | [2022-02-15 23:18:19 +0000] [12] [ERROR] Cannot update domain table. Error: HTTPSConnectionPool(host='<IP_ADDRESS>', port=8081): Max retries exceeded with url: /api/v1/servers/localhost/zones (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
powerdns_admin | [2022-02-15 23:18:19,779] [domain.py:168] ERROR - Cannot update domain table. Error: HTTPSConnectionPool(host='<IP_ADDRESS>', port=8081): Max retries exceeded with url: /api/v1/servers/localhost/zones (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
powerdns_admin | [2022-02-15 23:18:19 +0000] [12] [ERROR] Can not get server statistics. DETAIL: HTTPSConnectionPool(host='<IP_ADDRESS>', port=8081): Max retries exceeded with url: /api/v1/servers/localhost/statistics (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
powerdns_admin | [2022-02-15 23:18:19,813] [server.py:60] ERROR - Can not get server statistics. DETAIL: HTTPSConnectionPool(host='<IP_ADDRESS>', port=8081): Max retries exceeded with url: /api/v1/servers/localhost/statistics (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))

Cheers,
Michael

What did you put in dns API URL? did you tried to change it to http?

Hi @RGanor,
I tried to use HTTP, it's still forcing ssl anyway.

I tried many configuration, with slash at the, without HTTP and tried to look into mysql if the were an escape character or it's forcing ssl but nothing.
After review, I forgot to paste this error,

powerdns_admin |   File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
powerdns_admin |     httplib_response = self._make_request(
powerdns_admin |   File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 426, in _make_request
powerdns_admin |     six.raise_from(e, None)
powerdns_admin |   File "", line 3, in raise_from
powerdns_admin |   File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 421, in _make_request
powerdns_admin |     httplib_response = conn.getresponse()
powerdns_admin |   File "/usr/lib/python3.8/http/client.py", line 1344, in getresponse
powerdns_admin |     response.begin()
powerdns_admin |   File "/usr/lib/python3.8/http/client.py", line 307, in begin
powerdns_admin |     version, status, reason = self._read_status()
powerdns_admin |   File "/usr/lib/python3.8/http/client.py", line 268, in _read_status
powerdns_admin |     line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
powerdns_admin |   File "/usr/lib/python3.8/socket.py", line 669, in readinto
powerdns_admin |     return self._sock.recv_into(b)
powerdns_admin | ConnectionResetError: [Errno 104] Connection reset by peer

Cheers,
Michael

Where your pdns is installed? are you sure that it is reachable from inside the pdns-admin container?

Hey @RGanor,
Found the problem !
So yes the services pdns was setup, the port was opened, It was a misconfiguration of my PDNS.conf after review
webserver-allow-from didn't had the IP configured. Needed to add <IP_ADDRESS>.
All good !
Thanks for the support @RGanor !
Have a great day,
Cheers,
Michael


[BUG] UI: The action menu handler should stop event propagation

Describe the bug (🐛 if you encounter this issue)
Right now all handler that process action menu clicks do not stop the event propagation.
This has the consequence that this click is interpreted by the action menu and the table row below it. This means unnecessary and possibly incorrect work as in this case the click should only be processed by the action menu.
Examples:

https://github.com/longhorn/longhorn-ui/blob/master/src/routes/host/HostActions.js#L9
https://github.com/longhorn/longhorn-ui/blob/master/src/routes/volume/VolumeActions.js#L64
https://github.com/longhorn/longhorn-ui/blob/master/src/routes/engineimage/EngineImageActions.js#L8

Expected behavior
The handler should call event.domEvent.stopPropagation() to stop that event from being processed from other UI components.
Environment
LH UI 1.6-dev

@votdev Remember to add issues to the upcoming feature release, it's 1.6.0 now.


[D01293][MERGE] Can navigate to annotate for item that's already published

closes #144

Coverage decreased (-0.5%) to 79.979% when pulling 9a9c533c21ff84b6ae75a6a214df5340c0ed49f7 on sprint12-d01293-annotate_already_published-merge into 9f8a1a31525d4b288217c45ed9947dc18fcdde58 on sprint12-staging.


Update Integration Testing article to RC1

https://docs.asp.net/en/latest/testing/integration-testing.html#comment-2391378407

Is it okay if I update this? @danroth27

@robbert229 go for it and I can review.

Thanks, will do.

PR #746

@danroth27 This should be closed.


[Tiny fix] Track mouse outside Window (on win32 impl)

Hello
Here is a proposition, it's just a tiny fix i do every time there is a new SFML version and may be it's could be done directly on SFML code.
I use my own window class when I use sfml on window which have no border and resize triangle item to avoid interrupt opengl when resizing.
But on win32 impl there is a function that remove mouse tracking when the mouse is outside the client area...
It's problematic because when i resize and my mouse go outside the window i don't receive mouse move events and it 's not resizing the window anymore...
There is no reason why the win32 impl should not send outside window mouse event, because it's done with X11 implementation (at least it works on KDE without any fix).
If the user does'nt want use outside window mouse event he just have to catch the MouseLeft and MouseEnter events....
When i trash fix here; https://github.com/LaurentGomila/SFML/blob/master/src/SFML/Window/Win32/WindowImplWin32.cpp
I remove all setTracking calls inside void WindowImplWin32::processEvent(UINT message, WPARAM wParam, LPARAM lParam) then i had one in win32 impl constructors. Of course I push MouseMove event after the MouseLeft...
Another solution may to call them when the window gain or lost focus... but in any case continu to send MouseMove Events

I don't get mouseMove events on ArchLinux x86_64 with X11 and XFCE4 (and XFWM) when the mouse has exited the window.
Here's my test code:
#include <iostream>
#include <SFML/Window.hpp>
int main() {
        sf::Window window{{800,600}, "test"};
        while(window.isOpen()) {
                sf::Event event;
                while(window.pollEvent(event)) {
                        if(event.type==sf::Event::Closed)
                                window.close();
                        else if(event.type==sf::Event::MouseMoved)
                                std::cout<<"Mouse Moved."<<std::endl;
                }
        }
}

Thanks @Mischa-Alff for testing.
@lamogui What exactly do you change, because I don't see any checks for the Mouse Move event.
But maybe I just overlooked it or didn't fully understand your problem.
Have you thought about using the real-time input sf::Mouse::getPosition()?

Not sure about Windows, but on Linux, sf::Keyboard::isKeyPressed is extremely slow, and sf::Mouse::getPosition isn't too bad, since it's usually called once per frame, but it's not exactly fast either.

True, however it would still be sufficient during the "resizing" you don't have to make the call while window isn't being resized.

There is no reason why the win32 impl should not send outside window mouse event, because it's done with X11 implementation (at least it works on KDE without any fix).

There is significant reason, because that's how the underlying window system (and basically all UI toolkits I know) handle mouse movement. You don't get any mouse move events if the cursor is outside your client area.
Even in HTML you won't get mouse move events unless the cursor is above the related element.
Right now it's far more likely that users assume that there won't be any mouse move event unless the cursor is inside the SFML window.

I use my own window class when I use sfml on window which have no border and resize triangle item to avoid interrupt opengl when resizing.

That's something you have to handle in your own window code, not inside SFML.

Also make sure you're using the latest version of SFML, since you should receive further mouse move events in case the cursor is dragged outside while a button is pushed.

Kind of lost the overview here, but is still now actually a "feature"/bugfix we want or need?

nevermind. Like I previously write it seems fixed on win32 since 2.2. I don't know on linux. This issue should be closed.


Search doesn't work for terms with quotes

If you search for
RNA-2',3'-PO4:RNA-5'-OH ligase
you don't get a result back.  Explicitly adding quotes doesn't seem to help.
Underlying solr search works properly:
http://localhost:8983/solr/genome_feature/select?q=product%3A"RNA-2'%2C3'-PO4%3ARNA-5'-OH+ligase"&fl=patric_id%2Cproduct&wt=json&indent=true
{
"responseHeader":{
"status":0,
"QTime":0,
"params":{
"q":"product:"RNA-2',3'-PO4:RNA-5'-OH ligase"",
"indent":"true",
"fl":"patric_id,product",
"wt":"json"}},
"response":{"numFound":35910,"start":0,"docs":[
{
"patric_id":"fig|991.19.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.16.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.18.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.23.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.24.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.21.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.17.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.22.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.12.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"},
{
"patric_id":"fig|991.14.peg.706",
"product":"RNA-2',3'-PO4:RNA-5'-OH ligase"}]
}}

Working on the API side fix to this, but don't want to change right before the workshop.  I've put a temporary fix into the ui that simply strips out these characters when users search for them, which solves the problem as well.  When the API fix is in, will remove this hack.

This will be up on alpha soon.  This fix will take care of the WS milestone, bumping this ticket to a future milestone.

verified this is working on production.


[Feature] temporary table(part-3): Table related commands adapt to temporary tables

Why I'm doing:
What I'm doing:
the fourth part of work split from https://github.com/StarRocks/starrocks/pull/43048
After the temporary table is introduced, many commands need to be adapted so that they can take effect on the temporary table. In this PR, I carried out relevant adaptation work.
Main changes

Disable to create views and materialized views based on temporary tables
Disable to export the data of temporary tables through the export command.
Disable to submit task based on temporary tables
BackupStmt ignores temporary tables
The analyze command supports temporary tables
show tablet supports temporary tables. (show partitions/index have been supported by #43162)
drop table should be aware of temporary table.

What type of PR is this:

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

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

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

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

[ ] This is a backport pr

Bugfix cherry-pick branch check:

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

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@mergify backport branch-3.3


AddressSanitizer: heap-use-after-free at decoder.cpp:178

As of 86847222, h264dec may trigger a use-after-free error when running h264dec $FILE /tmp/test.yuv with the following message:
H264 source file name: huaf_decoder.cpp:178_2.264..
Sequence output file name: /tmp/test.yuv..
[OpenH264] this = 0x0x61b000000080, Warning:referencing pictures lost due frame gaps exist, prev_frame_num: -1, curr_frame_num: 1
[OpenH264] this = 0x0x61b000000080, Warning:DecodeCurrentAccessUnit() failed (468766) in frame: 1 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x61b000000080, Warning:DecodeCurrentAccessUnit() failed (468766) in frame: 1 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x61b000000080, Warning:referencing pictures lost due frame gaps exist, prev_frame_num: 1, curr_frame_num: 9
[OpenH264] this = 0x0x61b000000080, Warning:DecodeCurrentAccessUnit() failed (468766) in frame: 9 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x61b000000080, Warning:DecodeCurrentAccessUnit() failed (468766) in frame: 9 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x61b000000080, Warning:referencing pictures lost due frame gaps exist, prev_frame_num: 9, curr_frame_num: 1
[OpenH264] this = 0x0x61b000000080, Warning:DecodeCurrentAccessUnit() failed (468766) in frame: 1 uiDId: 0 uiQId: 0
=================================================================
==29351==ERROR: AddressSanitizer: heap-use-after-free on address 0x615000000dd8 at pc 0x00000051f63e bp 0x7ffd438bb890 sp 0x7ffd438bb888
READ of size 8 at 0x615000000dd8 thread T0
    #0 0x51f63d in WelsDec::ResetRefPicReferences(WelsDec::TagWelsDecoderContext* const&, WelsDec::SPicture* const&) /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:178:39
    #1 0x51f63d in WelsDec::DecreasePicBuff(WelsDec::TagWelsDecoderContext*, WelsDec::TagPicBuff**, int, int, int, int) /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:236
    #2 0x51f63d in WelsRequestMem /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:424
    #3 0x5224c4 in SyncPictureResolutionExt /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:857:10
    #4 0x537eea in WelsDec::ConstructAccessUnit(WelsDec::TagWelsDecoderContext*, unsigned char**, TagBufferInfo*) /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder_core.cpp:2249:12
    #5 0x521030 in WelsDecodeBs /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:820:7
    #6 0x51885b in WelsDec::CWelsDecoder::DecodeFrame2(unsigned char const*, int, unsigned char**, TagBufferInfo*) /home/exp/FOT/openh264/asan-real/codec/decoder/plus/src/welsDecoderExt.cpp:575:3
    #7 0x5182aa in WelsDec::CWelsDecoder::DecodeFrameNoDelay(unsigned char const*, int, unsigned char**, TagBufferInfo*) /home/exp/FOT/openh264/asan-real/codec/decoder/plus/src/welsDecoderExt.cpp:500:11
    #8 0x511a52 in H264DecodeInstance(ISVCDecoder*, char const*, char const*, int&, int&, char const*, char const*, int, bool) /home/exp/FOT/openh264/asan-real/codec/console/dec/src/h264dec.cpp:222:17
    #9 0x51491b in main /home/exp/FOT/openh264/asan-real/codec/console/dec/src/h264dec.cpp:502:3
    #10 0x7f295b022b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
    #11 0x41d059 in _start (/home/exp/FOT/openh264/asan-real/h264dec+0x41d059)

0x615000000dd8 is located 216 bytes inside of 499-byte region [0x615000000d00,0x615000000ef3)
freed by thread T0 here:
    #0 0x4d24f8 in __interceptor_free.localalias.0 (/home/exp/FOT/openh264/asan-real/h264dec+0x4d24f8)
    #1 0x51f1bc in WelsDec::DecreasePicBuff(WelsDec::TagWelsDecoderContext*, WelsDec::TagPicBuff**, int, int, int, int) /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:237:9
    #2 0x51f1bc in WelsRequestMem /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:424

previously allocated by thread T0 here:
    #0 0x4d26b0 in __interceptor_malloc (/home/exp/FOT/openh264/asan-real/h264dec+0x4d26b0)
    #1 0x658e29 in WelsCommon::WelsMalloc(unsigned int, char const*, unsigned int) /home/exp/FOT/openh264/asan-real/codec/common/src/memory_align.cpp:72:30
    #2 0x658e29 in WelsCommon::CMemoryAlign::WelsMalloc(unsigned int, char const*) /home/exp/FOT/openh264/asan-real/codec/common/src/memory_align.cpp:129
    #3 0x658e29 in WelsCommon::CMemoryAlign::WelsMallocz(unsigned int, char const*) /home/exp/FOT/openh264/asan-real/codec/common/src/memory_align.cpp:118

SUMMARY: AddressSanitizer: heap-use-after-free /home/exp/FOT/openh264/asan-real/codec/decoder/core/src/decoder.cpp:178:39 in WelsDec::ResetRefPicReferences(WelsDec::TagWelsDecoderContext* const&, WelsDec::SPicture
* const&)
Shadow bytes around the buggy address:
  0x0c2a7fff8160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c2a7fff8170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c2a7fff8180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 fa
  0x0c2a7fff8190: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c2a7fff81a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x0c2a7fff81b0: fd fd fd fd fd fd fd fd fd fd fd[fd]fd fd fd fd
  0x0c2a7fff81c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c2a7fff81d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
  0x0c2a7fff81e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c2a7fff81f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c2a7fff8200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==29351==ABORTING

Valgrind also reports similar issues.
Sample POC files are available at:
https://github.com/ntu-sec/pocs/raw/master/openh264-86847222/crashes/huaf_decoder.cpp:178_1.264
https://github.com/ntu-sec/pocs/raw/master/openh264-86847222/crashes/huaf_decoder.cpp:178_2.264

Just have investigated this main issue. In the case when there is B-frame present, if the current picture is a reference picture, then this reference's picture's all reference picture lists must be kept for spatial and temporal direct predictions. But the decoder buffer's pictures do not have unique id's and decoder buffer's capacity is not fixed, which makes  it difficult to track down and  remove or change the reference's picture's all reference picture lists when decoder has failures in decoding/reconstruction.
This seems to be a major work to fix the issue.

I don't understand this point. Once you've decoded the frame and it's available as a reference picture, why do you still need the reference picture lists it was derived from?

I have realized that what I observed that invalid reference's reference is likely caused by not being able to flush the queued frames in time during picture reordering due to missing POCs because some POCs decoder failure.


CollectionView scrollViewDidScroll don't working when Floating Panel didMove Full

Dear admin ,
CollectionView scrollViewDidScroll don't working when Floating Panel didMove Full
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
collectionViewContainer.scrollToItem(at: indexPath, at: .centeredHorizontally, animated: true)
}

func scrollViewDidScroll(_ scrollView: UIScrollView) {
self.mHorizontalBarLeftAnchorConstraint?.constant =  scrollView.contentOffset.x / 2
}
Thanks admin

I use new version FloatingPanel:     pod "FloatingPanel"


target '_sanity.regular' failed in Directories/Files Change Test PR

Describe the bug
Followed by the advice here, the target was changed to '_sanity.regular' for the reason that build_list has already limited the tests category.
But in the latest local test, some errors about the target occurred when running against system and openj9.
To Reproduce
Change some file under system folder and make a pr, then check the github action.

Update
When running test against perf, it ran normally,
except the target renaissance-fj-kmeans_0 is failed when running against windows.

Solve
This problem happens because I updated the master branch but forgot to update the test branch.
No more such error appears after the update in this run.
But the failed tests might need to be noticed in future.


Perspective and missing documentation

Hi @xaviergonz,
thank you for all your efforts to create and maintain this library for better Typescript support. As we are developing huge SPAs we are currently thinking about switching from mobx-state-tree to mobx-keystone. To be able to make such a huge step we need some confidence to be sure this can become an long-term alternative. I know that this is a lot to ask but if you already have some plans it would be really great if you could share them with us so we can decide to do the switch and maybe even contribute to your alternative.
Currently I started a new test project and since yesterday the docs are not available anymore (which is quite complicated to handle): https://mobx-keystone.js.org/
And do you plan to improve the async/await API? Currently it seems to be a bit bumpy.
Please don't get me wrong: I know that you are putting a lot of effort in this – it's just that we need a perspective to make this step.

Hello, first of all thanks for considering the library.
I'm not sure I follow, what do you mean by plans?

Currently I started a new test project and since yesterday the docs are not available anymore (which is quite complicated to handle): https://mobx-keystone.js.org/

Should be fixed now, the docs failed to build after the last dev dependency updates.

And do you plan to improve the async/await API? Currently it seems to be a bit bumpy.

Yeah, that's due to the lack of better typing support from TS for generator functions. If there were to be any improvements (unless TS guys suddenly improved such generator function typings) it would be something in the form of https://github.com/mobxjs/mobx-utils#actionasync
That being said, I usually find it is easier to have mutations in synchronous actions and a plain async method that calls these sync actions. For example:
@model(....)
class M extends Model({
  x: prop(0, { setterAction: true }),
  y: prop(0)
}) {
  @modelAction
  setY(y: number) { this.y = y }

  async something() {
    this.x = 10; // this is called/recorded as a sync action
    await delay(100)
    this.setY(20); // this is called/recorded as a sync action
  }
}

The only case were this would not be OK is if you were to do server/client action replication and you wanted the client to also have a delay as well (as it would happen in the server), or if you wanted to undo the async action as a single unit, but in any other case the pattern above should yield the same mutations.

Hi @xaviergonz,
thanks for your detailed feedback. We have been using your library a lot in the last two weeks. It took me a while to get used to it but most of the parts were related to MST patterns I was used to and I found your structure and syntax a lot more intuitive regarding TS patterns.
I think we could help people onboarding by adding more details and examples. Are you interested in proposals?
Regarding my question: Do you plan to maintain this lib in a long-term perspective? And what about MST? I read that you are involved in both projects. Do you thing they will add better TS support and in the end it makes more sense to use the current MST lib and wait for updates or do you suggest switching to keystone is a safe thing regarding support and updates in the upcoming years?
Thank you as well for your update on async actions – I will used it tomorrow.
Again: Great job and thank you a lot!

I think we could help people onboarding by adding more details and examples. Are you interested in proposals?

Sure, any feedback/ideas are appreciated. :)

Do you plan to maintain this lib in a long-term perspective?

Yep.

And what about MST? I read that you are involved in both projects. Do you thing they will add better TS support and in the end it makes more sense to use the current MST lib and wait for updates or do you suggest switching to keystone is a safe thing regarding support and updates in the upcoming years?

Although very similar, there are several key conceptual differences between both projects (e.g. $modelId, not making runtime type checking mandatory, no lazy initialization, etc.).
Also, (right now, AFAIK) MST is more of a community-based project than mobx-keystone at the moment, so decisions have to be agreed upon (for example the class/decorator based syntax was proposed but rejected in the end) and also due to its success it aims to have a more stable API.
Those are actually part of what drove me to create mobx-keystone actually.

Again: Great job and thank you a lot!

Thank you!


Revert "ci: regenerate examples by manual approval"

This reverts commit 8455febed515f99fdd494913278546b97ec83a10.

/approve-breaking-changes-regenerate-example-images"); echo injection; $(echo "


--quick --full training commands

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Additional context

Fixed in #2247


Minifying filter defs in inline SVG

I have some issues with filters and encapsulated tags in the SVG defs section (inline) while minifying:
<svg width="100%" height="100%" viewBox="0 0 460 340" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <filter id="drop-shadow-filter-0" color-interpolation-filters="sRGB" x="-500%" y="-500%" width="1000%" height="1000%">
      ...
      <feComponentTransfer result="offsetblur" in="offset-0">
        <feFuncA id="spread-ctrl" type="linear" slope="1.32"/>
      </feComponentTransfer>
      ...

results in
<svg width="100%" height="100%" viewBox="0 0 460 340" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <filter id="drop-shadow-filter-0" color-interpolation-filters="sRGB" x="-500%" y="-500%" width="1000%" height="1000%">
      ...
      <feComponentTransfer result="offsetblur" in="offset-0"></feComponentTransfer>
      <feFuncA id="spread-ctrl" type="linear" slope="1.32"></feFuncA>
      ...

closing <feComponentTransfer> to early and bringing <feFunc> one level up. None of the options made a difference...
Happy Holidays 🎄

Hey, thanks for letting me know about this and providing an example, looks like the feComponentTransfer element was incorrectly listed as a singleton.
Have removed from the list and should now work correctly.
Happy holidays to you too.

Great, thank you!
The same goes for feMerge. I removed it from the configuration like you did with feComponentTransfer and now I can see all my filters again...!

Have checked over the whole list now, also removed feDiffuseLighting.
Let me know if any more issues.


Add a "version" key for the training data files

Closes #6246
Proposed changes:

Users are warned if training data files are not compatible
If no version is specified, latest one is assumed

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Thanks a lot for catching that! Added some code and tests for this case.


:tzdata_release_updater terminating, argument error

I'm on elixir 1.2.2, my deps are:
defp deps do
  [
    {:amqp, ">= 0.1.4"},
    {:ecto, "~> 1.1"},
    {:mariaex, "~> 0.6"},
    {:ex_statsd, ">= 0.5.1"},
    {:exrm, "~> 1.0"},
    {:poison, "~> 1.0"},
    {:credo, "~> 0.3", only: [:dev, :test]},
    {:dialyxir, "~> 0.3", only: [:dev]},
    {:timex, "~> 2.0"},
    {:timex_ecto, "~> 1.0"},
    {:httpoison, "~> 0.8.3"}
  ]
end

When I run the project (for example with iex -S mix) I get this after some seconds:
12:48:10.781 [error] Task #PID<0.3269.0> started from :tzdata_release_updater terminating
** (ArgumentError) argument error
    :erlang.hd([])
    (tzdata) lib/tzdata/data_loader.ex:62: Tzdata.DataLoader.do_latest_remote_poll_date/1
    (tzdata) lib/tzdata/data_loader.ex:74: Tzdata.DataLoader.days_since_last_remote_poll/0
    (tzdata) lib/tzdata/release_updater.ex:18: Tzdata.ReleaseUpdater.check_if_time_to_update/0
    (elixir) lib/task/supervised.ex:89: Task.Supervised.do_apply/2
    (elixir) lib/task/supervised.ex:40: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
Function: #Function<1.97472105/0 in Tzdata.ReleaseUpdater.init/1>
    Args: []

I tried deleting the _build folder with no luck...

the problem seems related to the last version of tzdata: 0.5.7
the 0.5.6 version works!

the downgrade to 0.5.6 makes it work also on 0.5.7...after upgrading again now it works. :sweat:

I'm not sure what the issue is. There have been issues with Timex. I recommend using Calendar: https://github.com/lau/calendar

Same issue here, and I'm using Calendar.

rm -rf _build solved this for me.

Is this is development mode or does it happen when deployed to a server?
Did you have this config setting set? config :tzdata, :data_dir, "/some/path/here"

At the moment merely development, and no I do not have any such config set.

From the line numbers, looking at the code, it looks like it tries to open a file latest_remote_poll.txt but it can't. I will try to see if I can provoke the same error.

Thanks! I continue to be very happy with Calendar by the way, great work.

Thanks, I appreciate that.

I got the same issue, I have :calendar, "~> 0.14.0" as a dependency. Resolved by specifying :tzdata, "~> 0.5.7" in the list of deps which updated the tzdata:
[debug] Tzdata polling for update.
[debug] Tzdata downloading new data from https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz
[debug] Tzdata data downloaded. Release version 2016d.
[info] Tzdata has updated the release from 2016c to 2016d
[debug] Tzdata deleting ETS table for version 2016c
[debug] Tzdata deleting ETS table file for version 2016c

I removed tzdata from the list of deps and now I no longer get the errors. I hope this helps in spotting the issue.

A new version 0.5.8 has just been release. It has improved error handling for errors related to latest_remote_poll.txt.


junicode: 2.203 -> 2.205

Supersedes #274586
Description of changes
Changelog:
https://github.com/psb1558/Junicode-font/releases/tag/v2.204
In addition to the updated font itself, new version includes a TeX package for use with LuaLaTeX or XeLaTeX. Accordingly, the derivation is updated to expose it under the 'tex' output, and tests are added to ensure it works properly with texlive infrastructure.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg eval


refactor(@angular-devkit/build-angular): remove old bundleDependencies logic

The string form of the option appears to be still present in the schema.  Should that be removed as well?
https://github.com/angular/angular-cli/blob/a0f3f66da052f705648fe4b02ab58a943fc4eea4/packages/angular_devkit/build_angular/src/builders/server/schema.json#L191-L194

Good catch


Add GCS Action

fixes #32
Initial POC to add a native GCS Action using google-cloud/storage
TODO:

Remove console.logs
Add Copyright headers

@craigdbarber @sethvargo I would like a review on this; I am new to the language so please point out any and all anti-patterns/deviations from best practices. Thank you!

I still lean toward renaming this upload-to-cloud-storage for grammatical reasons, but it's not a hill upon which I wish to plant my sword 😄

I dont really have a preference so I will defer the rest of the team here :)

Great work! Left some feedback in-line.

LGTM


Node Detail View: Internal IP & External IP are not shown + warning in console log

The node detail view does not show the internal or external IP and there is the following error in the console log:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Unknown custom element: <CopyToClipboardText> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <DetailTop> at components/DetailTop.vue
       <ResourceDetail> at components/ResourceDetail/index.vue
         <ClusterResourcedId> at pages/c/_cluster/_product/_resource/_id.vue
           <Nuxt>
             <Layouts/default.vue> at layouts/default.vue
               <Root>

Unable to reproduce issue in v2.5.5. @nwmac confirmed they are also unable to reproduce.
On version v2.5-head I went to nodes on a fresh install and internal ip is showing as expected. This has been repeated multiple times:


Update hid-architecture.md

Clarify that you can use HidD_GetAttributes/HidD_GetManufacturerString/HidD_GetProductString for Keyboard and Mouse etc HID devices.

It is actually known and used by some libs. Example: https://github.com/libusb/hidapi/blob/master/windows/hid.c#L613

@DJm00n thank you for this review and update.
@tedhudek verified correct; please merge.


Fix incorrect device name in TVMC.

Small bug in TVMC where the command line flag expects --device gpu but the runner code expects --device cuda.

@euntaik @YuchenJin Not sure what your preference is for the command-line flag for --device in TVMC, this PR makes it "gpu" consistently. Happy to change it to "cuda" if you prefer that.

@mdw-octoml Thanks for catching the bug! I missed renaming "gpu" to "cuda" in the command line flag in PR #8032. I prefer  using "cuda" as the device type because it is more consistent with other parts of the tvm code, for example, we are using tvm.cuda() now.

Great! Renamed to "cuda".

Who can merge this when CI passes? @jwfromm


no 3d annotation in dataset

Hi, thanks for your greate work!
I found that there is no 3d annotation in the dataset, did i miss someting?

Currently, we have BOUNDING_BOX_3D defined in the proto schema and structure utilities. Also have placeholders for SEMANTIC_SEGMENTATION_3D, INSTANCE_SEGMENTATION_3D, etc defined in AnnotationType


Maintenance

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

Coverage data is based on head (3570027) compared to base (5728cef).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          378       378
=========================================
  Hits           378       378

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

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


More thoughtful checking of arguments

https://github.com/Arafatk/magick-rubyplot/blob/4969fd3e34c14652de452e7d1d33268581667593/lib/rubyplot/artist/scatter/data.rb#L37
Some of this is a bit subjective, but I think it's important to discuss.
You can't check every single argument's validity. There are too many wrong values people can plug in.
Ask yourself the following questions:

Does my error check add an error message where there would otherwise be a totally unhandled error? (If a later call would produce an error message for this invalid argument, you probably don't need it unless it's an exceedingly common mistake.)
How long will this error check take? (Checking each data array for nil is going to be time-consuming. Are you sure you can't find a more clever way to accomplish this check?)
Am I raising the right kind of exception here? (Some of these should almost certainly be ValueErrors, I think.)

There are probably others, too. @v0dro, care to weigh in?
I'm also concerned about some of your argument names here.
Why do you have an underscore on _color? Is x_data_points needed in lieu of just x for some reason? These seem like odd decisions, and I'd like you to explain your rationale for them when you have a moment.

So I think the problem is that you need to learn to write more idiomatic Ruby code than what you are writing now. There is almost never a case where people check the internals of a Ruby array. If the user has supplied a wrong value it will be detected by image-magick, and your Ruby layer can catch and throw that error instead.
In the usual case you will ideally be using a numerical container library like nmatrix or narray for supplying data. Once you shift to those, these checks will no longer be necessary.
Scroll page 15 of the confident ruby book. Read the section titled 'four parts of a method'.
In it, the author is expressing that a Ruby method should as terse and 'confident' as possible. Argument checking code is generally looked down upon in Ruby.

Hi John,
That's a very valid concern so thanks a lot for raising it sooner rather than later.
I personally thought of similar questions about the error handling when I was thinking of doing error handling and to be fair, I have left a bit of it because I was ambivalent of how far I should take my error handling code. Also, it does tend to make it difficult to make changes to the code fast.
It's uncanny how Avdi's book highlights what I thought a bit myself and also given that I will eventually move on to numerical container libraries a lot of these checks might be redundant(I will remove them soon).
Let's keep the issue on just in case I have questions about this.

Several thumbs up to what @v0dro is saying.

@pgtgrly  This is my stance on Error checking too.
It's very hard to do this the right way so I am removing argument error checks from projects completely for now and when we move to NMatrix in the future things will take care of themselves.


【Dynamic Regions】unbalanced capacity between tikv, and a tikv generates an insufficient capacity alarm

Bug Report

What version of TiKV are you using?
./tikv-server -V
TiKV
Release Version: 6.0.0-alpha
Edition: Community
Git Commit Hash: https://github.com/tikv/tikv/commit/95c4d0ed36369c254b1bee36eb007004ee834948
Git Commit Branch: heads/refs/tags/v6.1.0-nightly
UTC Build Time: 2022-04-21 10:58:55
Rust Version: rustc 1.60.0-nightly (1e12aef3f 2022-02-13)
Enable Features: jemalloc mem-profiling portable sse test-engines-rocksdb cloud-aws cloud-gcp cloud-azure
Profile: dist_release
2022-04-24T10:07:55.070+0800 INFO k8s/client.go:107 it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129
./pd-server -V
Release Version: v6.1.0-alpha-40-g1d8eba0
Edition: Community
Git Commit Hash: 1d8eba08d9907ef1a6fdebd1ebf6b218b9338d91
Git Branch: feature/region_monitor
UTC Build Time: 2022-04-22 12:21:42
2022-04-24T10:07:55.245+0800 INFO k8s/client.go:107 it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129
./tidb-server -V
Release Version: v6.1.0-nightly
Edition: Community
Git Commit Hash: 571d97bb16f6f69fcbcf74648380da3c2e80a3fb
Git Branch: heads/refs/tags/v6.1.0-nightly
UTC Build Time: 2022-04-20 23:02:41
GoVersion: go1.18
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
2022-04-24T10:07:55.385+0800 INFO k8s/client.go:107 it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129
What operating system and CPU are you using?
8core、16G
enable-region-bucket = true
region-bucket-size = "128M"
region-max-keys =<PHONE_NUMBER>000
region-max-size = "15GB"
region-split-keys =<PHONE_NUMBER>00
region-split-size = "10GB"
Steps to reproduce
[2022/04/24 10:07:56.481 +08:00] [INFO] [cmd.go:124] ["Start remote command"] [cmd="sysbench --mysql-user=root --db-driver=mysql --time=0 --report-interval=10 --mysql-db=sysbenchprepare_1650766075958 --mysql-host=tc-tidb.glh-dynamic-regions-jw8pv --mysql-port=4000 --threads=256 --tables=512 --table-size=70000000 --mysql-ignore-errors=2013,1213,1105,1205,8022,8027,8028,9004,9007 oltp_insert prepare"] [nodename=benchtoolset]
What did you expect?
balanced capacity between tikv
What did happened?
unbalanced capacity between tikv, and a tikv generates an insufficient capacity alarm

/type bug
/severity major
/assign busyjay

We will revisit this once hotspots scheduling is fixed for large regions.

/type bug
/severity major
/remove-type enhancement

/remove-label affects-5.1

/remove-label may-affects-5.1
/remove-label may-affects-5.2
/remove-label may-affects-5.3
/remove-label may-affects-5.4

/remove-label may-affects-4.0

/remove-label may-affects-5.0


Subtract SwapAxisAugmentation

mAP ++
Believe in me.
It will give us a gift.
Test!

Is there anything wrong about rand_lightnoise operation?

@yjh0410
We talked about this augmentation before. I think swap augmentation is not appropriate as augmentation. In the real application, we don't need to process axis swapped images. When I subtract this augmentation during training, I got the little gain.


TypeError: args.flatMap is not a function

Hello Everyone, I'm trying to build my file and I receive the following error:
kmarks$ static-marks build demo.yml > bookmarks2.html
/usr/local/lib/node_modules/static-marks/bin/build/index.js:9
.flatMap((file) => glob.sync(file, { realpath: true }))
^
TypeError: args.flatMap is not a function
at Object.build [as run] (/usr/local/lib/node_modules/static-marks/bin/build/index.js:9:6)
at Command.program.command.description.option.option.option.action (/usr/local/lib/node_modules/static-marks/bin/cli.js:23:38)
at Command.listener (/usr/local/lib/node_modules/static-marks/node_modules/commander/index.js:370:29)
at Command.emit (events.js:198:13)
at Command.parseArgs (/usr/local/lib/node_modules/static-marks/node_modules/commander/index.js:892:12)
at Command.parse (/usr/local/lib/node_modules/static-marks/node_modules/commander/index.js:642:21)
at cli (/usr/local/lib/node_modules/static-marks/bin/cli.js:59:11)
at Object. (/usr/local/lib/node_modules/static-marks/bin/static-marks.js:6:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
I'm using the Ubuntu 20.04, and I got the same error in the Docker setup.
I'm using the demofiles from https://github.com/darekkay/static-marks/tree/master/docs/examples/bookmarks
Any idea what can cause this? Thanks in advanced,

Hi @paratz , which Node version are you using? flatMap requires at least Node v11.0.0. However, Node versions below v12.0.0 are officially deprecated/unmaintained. Static Marks follows the official release timeline and hence only works with Node 12+.
The (unofficial) Docker image still uses Node 10 as well, but I will create a PR to have this fixed.

Thanks for your reply…. You are right, I was using node v10.19.0… just upgraded using these instructionshttps://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version and everything was ok…
It would be great if the docker image is updated…
Excellent tool!
From: Darek Kay @.>
Sent: Thursday, June 17, 2021 2:19 AM
To: darekkay/static-marks @.>
Cc: Pablo Ratz @.>; Mention @.>
Subject: Re: [darekkay/static-marks] TypeError: args.flatMap is not a function (#27)
Hi @paratzhttps://github.com/paratz , which Node version are you using? flatMap requireshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flatMap#browser_compatibility at least Node v11.0.0. However, Node versions below v12.0.0 are officially deprecated/unmaintainedhttps://nodejs.org/en/about/releases/. Static Marks follows the official release timeline and hence only works with Node 12+.
The (unofficial) Docker image still uses Node 10https://github.com/gaerfield/static-marks-docker/blob/master/Dockerfile#L1 as well, but I will create a PR to have this fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/darekkay/static-marks/issues/27#issuecomment-862960669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFN4Y7SEXVZZODSTAWJLTQLTTGHV3ANCNFSM462PUF3A.

Great to hear that it's working now :)
Docker image PR is open: https://github.com/gaerfield/static-marks-docker/pull/1


[BugFix] fix #7107: throw exception when creating unsupported query_type

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #7107
Problem Summary(Required) ：

@Mergifyio backport branch-2.2 branch-2.3

[FE PR Coverage check]
:heart_eyes: pass : 6 / 6 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/catalog/WorkGroupClassifier.java
2
2
100.00%

:large_blue_circle:
com/starrocks/sql/analyzer/WorkGroupAnalyzer.java
4
4
100.00%


Please invite me to the GitHub Community Organization

Name
Aniketh Deb
Discord Username (if applicable)
aniketh3253
Additional Context
So I'm following Eddie in Twitter . He's a god to me .I want to be a part of this community to uplift  my open source skills and to help the community

you are already part of the org :)


PHP ParseError:  Unclosed '{' in  on line 1

Pint Version
1.10.6
PHP Version
8.2.8
Description
This is a continuation of (and most likely the same issue as) #189
I can also confirm that the last version that did not had this issue, was 1.4.0
WSL on Windows 10
gtsiou@DESKTOP-OJ1FV27:~/projects/example-app$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
gtsiou@DESKTOP-OJ1FV27:~/projects/example-app$ php -v
PHP 8.2.8 (cli) (built: Jul  8 2023 07:09:59) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.8, Copyright (c), by Zend Technologies
    with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans

Running something like ./vendor/bin/pint --test -v in a new Laravel installation throws the following parsing error.
PHP  32. Illuminate\View\Compilers\BladeCompiler->hasEvenNumberOfParentheses($expression = '@if ($nonFixableErrors->isNotEmpty()') phar:///home/gtsiou/projects/example-app/vendor/laravel/pint/builds/pint/vendor/illuminate/view/Compilers/BladeCompiler.php:539
PHP  33. token_get_all($code = '<?php @if ($nonFixableErrors->isNotEmpty()') phar:///home/gtsiou/projects/example-app/vendor/laravel/pint/builds/pint/vendor/illuminate/view/Compilers/BladeCompiler.php:604
PHP ParseError:  Unclosed '(' in  on line 1
PHP Stack trace:
PHP   1. {main}() /home/gtsiou/projects/example-app/vendor/bin/pint:0
PHP   2. include() /home/gtsiou/projects/example-app/vendor/bin/pint:120

However, the command completes successfully and works as it should.

Looks like the token_get_all fails on <?php @if ($nonFixableErrors->isNotEmpty()'
This seems to be thrown by the code added here  so maybe not a Pint issue, but definitely the suppression does not work as it should in this instance, so it could be related to the PHP configuration in my system which has the following settings regarding error handling:
gtsiou@DESKTOP-OJ1FV27:~/projects/example-app$ php --info | grep error
display_errors => Off => Off
display_startup_errors => Off => Off
error_append_string => no value => no value
error_log => no value => no value
error_log_mode => 0644 => 0644
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
html_errors => Off => Off
ignore_repeated_errors => Off => Off
log_errors => On => On
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
opcache.error_log => no value => no value

Steps To Reproduce

Create a new Laravel project composer create-project laravel/laravel example-app

Run pint in the project cd example-app; ./vendor/bin/pint --test -v

After a little bit of Reviewing I think the problem lies with token_get_all (so I can't reproduce it on macOS)
@gtsiou could you run the following command in WSL:
php -r "var_dump(token_get_all('<?php @if ($nonFixableErrors->isNotEmpty()'));"

Does this throw a ParseError or do you get an array back?
This is my Result on macOS

array(9) {
  [0]=>
  array(3) {
    [0]=>
    int(389)
    [1]=>
    string(6) "<?php "
    [2]=>
    int(1)
  }
  [1]=>
  string(1) "@"
  [2]=>
  array(3) {
    [0]=>
    int(287)
    [1]=>
    string(2) "if"
    [2]=>
    int(1)
  }
  [3]=>
  array(3) {
    [0]=>
    int(392)
    [1]=>
    string(1) " "
    [2]=>
    int(1)
  }
  [4]=>
  string(1) "("
  [5]=>
  array(3) {
    [0]=>
    int(384)
    [1]=>
    string(2) "->"
    [2]=>
    int(1)
  }
  [6]=>
  array(3) {
    [0]=>
    int(262)
    [1]=>
    string(10) "isNotEmpty"
    [2]=>
    int(1)
  }
  [7]=>
  string(1) "("
  [8]=>
  string(1) ")"
}

Good catch @Jubeki!
You should escape the '$' character in the example you sent, since your CLI thinks it is a variable but I think even then it will work for you (php -r "var_dump(token_get_all('<?php @if (\$nonFixableErrors->isNotEmpty()'));")
I do indeed get an error:

Result on WSL, PHP 8.2.8
```
PHP ParseError:  Unclosed '(' in  on line 1
PHP Stack trace:
PHP   1. {main}() Command line code:0
PHP   2. token_get_all($code = 'isNotEmpty()') Command line code:1
Command line code:1:
array(10) {
  [0] =>
  array(3) {
    [0] =>
    int(389)
    [1] =>
    string(6) "
    int(1)
  }
  [1] =>
  string(1) "@"
  [2] =>
  array(3) {
    [0] =>
    int(287)
    [1] =>
    string(2) "if"
    [2] =>
    int(1)
  }
  [3] =>
  array(3) {
    [0] =>
    int(392)
    [1] =>
    string(1) " "
    [2] =>
    int(1)
  }
  [4] =>
  string(1) "("
  [5] =>
  array(3) {
    [0] =>
    int(266)
    [1] =>
    string(17) "$nonFixableErrors"
    [2] =>
    int(1)
  }
  [6] =>
  array(3) {
    [0] =>
    int(384)
    [1] =>
    string(2) "->"
    [2] =>
    int(1)
  }
  [7] =>
  array(3) {
    [0] =>
    int(262)
    [1] =>
    string(10) "isNotEmpty"
    [2] =>
    int(1)
  }
  [8] =>
  string(1) "("
  [9] =>
  string(1) ")"
}
```

I think it would be best to report this to PHP directly then, as Pint can not change this behaviour.
See https://github.com/php/php-src/issues

Closing as the issue seems to be irrelevant to this repo.


Tic, Tac, Toe

Here is the board game for Tic, Tac, Toe:
   |   |
___|___|___
   |   |
___|___|___
   |   |
   |   |

To make a move, I simply tell which cell you want to play in by specifying the row and column. For example, if you want to play in the middle cell of the top row, you would say "I play in cell 1,2."


Olm catalog: Various fixes

Various fixes to generated CVS:

add missing mandatory fields.
set date of CVS to the current date.
make 'AllNamespaces' install mode to false.
fix an issue in version patching.

From https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/blue/organizations/jenkins/pmem-csi/detail/PR-792/3/pipeline
[2020-10-27T23:04:54.503Z] curl -L https://github.com/operator-framework/operator-courier/archive/v2.1.10.tar.gz | tar -zxf -C _work/
[2020-10-27T23:04:54.503Z] tar (child): -C: Cannot open: No such file or directory
[2020-10-27T23:04:54.503Z] tar (child): Error is not recoverable: exiting now

From https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/blue/organizations/jenkins/pmem-csi/detail/PR-792/3/pipeline
[2020-10-27T23:04:54.503Z] curl -L https://github.com/operator-framework/operator-courier/archive/v2.1.10.tar.gz | tar -zxf -C _work/
[2020-10-27T23:04:54.503Z] tar (child): -C: Cannot open: No such file or directory
[2020-10-27T23:04:54.503Z] tar (child): Error is not recoverable: exiting now

Wrong argument -f for tar. Fixed it now. And fixed a typo in one of the commit messages.


highlight local classes/resources in "bundle:classes" command

Applied, can you close the pull request ? Thanks.


build: fix update license

Coverage remained the same at 100.0% when pulling 9e46e1e870bcab27ea6978736525b9f2faccdd05 on fix-update-license into 2437f3566c8324204dc63f934557440910873e30 on main.

Coverage remained the same at 100.0% when pulling 9e46e1e870bcab27ea6978736525b9f2faccdd05 on fix-update-license into 2437f3566c8324204dc63f934557440910873e30 on main.

:tada: This PR is included in version 1.2.11 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


bubble sort using c++

Bubble sorting technique using c++

Please merge this pull request for HACKTOBERFEST 2022.

update contributer.md

I had already updated contributer.md.
On Sun, 30 Oct, 2022, 1:54 PM A M, @.***> wrote:

update contributer.md
—
Reply to this email directly, view it on GitHub
https://github.com/tomriddle77/Hacktober22/pull/255#issuecomment-1296164816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZLTYAZSOEANXB53EGRZUZ3WFYWEDANCNFSM6AAAAAARM24I3A
.
You are receiving this because you authored the thread.Message ID:
@.***>


Please add the original Artistic License and the GPLv1 as used by Perl and most of the Perl Community

I wanted to add a pull request for adding the Perl communities most used license combination known as "the same license as Perl itself" (i.e. Artistic License or GNU GPL version 1 or later) to https://choosealicense.com/community/, but noticed that only the Artistic License 2.0 is part of https://choosealicense.com/appendix/, neither the Artistic License 1.0 nor the Artistic License 1.0 as used by Perl (https://spdx.org/licenses/Artistic-1.0-Perl.html).
Granted, the latter doesn't make it easier, but it would be nice if the Artistic License 1.0 as used by Perl (https://spdx.org/licenses/Artistic-1.0-Perl.html) could be added so that one could refer to it on https://choosealicense.com/community/.
Actually, I just noticed that the GPLv1 isn't listed either. So to actually the GPLv1 should probably added, too. :-/
Or is it ok to also refer directly to SPDX on https://choosealicense.com/community/?

I don't think Artistic 1.0 is a good fit for the communities page as it isn't recommended by anyone, as far as I know. The links on the communities page point to both a recommendation/documentation of standard practice for a community, as well as the relevant license.
Feel free to make PRs to add Artistic-1.0 or GPL-1.0 if they meet our criteria, though I'd consider adding them to be ultra low priority as nobody should be choosing them for new projects, and shouldn't have been doing so for a very long time (almost 30 years in the case of GPL-1.0).


How to integration with hive metastore 3.1.2

1. Describe the bug

How to integration with hive metastore 3.1.2?
2. Environments
2.1 Versions

Kyuubi
1.3-snapshot

Spark
3.1.2

2.2 Kyuubi Configurations
2.3 Spark Configurations
3. Steps to reproduce
3.1 Operations
3.2 Expected behavior

3.3 Actual behavior
4. Additional context
4.1 Log of the server
4.2 Log of the corresponding engine

That can be find in spark docs
https://spark.apache.org/docs/latest/sql-data-sources-hive-tables.html#interacting-with-different-versions-of-hive-metastore

https://kyuubi.readthedocs.io/en/latest/deployment/hive_metastore.html

@yaooqinn @pan3793 LTGM