Request body too large error from onefuzzlib/Queue.cs when processing crash logs in v8.0.0

Information

Onefuzz version: 8.0.0
OS: Linux

Provide detailed reproduction steps (if any)
This issue is very similar to https://github.com/microsoft/onefuzz/issues/2708 .  However, the patch from 6.4.0 didn't catch this variant. It is the same general error as 2708:
The request body is too large and exceeds the maximum permissible limit.
RequestId:38799644-e103-002b-80a8-12345e000000
Time:2023-04-24T12:12:12.4036764Z
Status: 413 (The request body is too large and exceeds the maximum permissible limit.)
ErrorCode: RequestBodyTooLarge

Additional Information:
MaxLimit: 131584

Content:
<?xml version="1.0" encoding="utf-8"?><Error>RequestBodyTooLarge<Message>The request body is too large and exceeds the maximum permissible limit.
RequestId:38799644-e103-002b-80a8-12345e000000
Time:2023-04-24T12:12:212.4036764Z</Message><MaxLimit>131584</MaxLimit></Error>

The messages being sent are of the type:
{"target":"events","arguments":[{"event_id":"a3907a31-10aa-915e-b123-8a2684c32cd3","event_type":"regression_reported","event":{"regression_report":{"crash_test_result":{},"original_crash_test_result":{"crash_report":{"input_blob":{"account":"fuzzabf6fyns77abc","container":"oft-crashes-7c0ea4c8d123712e31e72eba08b7e36e","name":"leak-ab6e19768b89ec0de6e18266aa912af5aadce496"},"executable":"foo-asan","crash_type":"5632","crash_site":"AddressSanitizer: 5234 byte(s) leaked in .... .","call_stack":["#0 0x1fc497 in posix_memalign (...

This is the specific stack trace associated with the error. The last line of the call stack provides the location in OneFuzz where it is crashing:
parsedStack:
[
{"assembly":"Azure.Storage.Queues, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=91232123e12e11c8","method":"Azure.Storage.Queues.MessagesRestClient+<EnqueueAsync>d__14.MoveNext","level":0,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw","level":1,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess","level":2,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification","level":3,"line":0},
{"assembly":"Azure.Storage.Queues, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=91232123e12e11c8","method":"Azure.Storage.Queues.QueueClient+<SendMessageInternal>d__82.MoveNext","level":4,"line":0},{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw","level":5,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess","level":6,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification","level":7,"line":0},
{"assembly":"Azure.Storage.Queues, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=91232123e12e11c8","method":"Azure.Storage.Queues.QueueClient+<SendMessageAsync>d__80.MoveNext","level":8,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw","level":9,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess","level":10,"line":0},
{"assembly":"System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7abc23d7bef2218e","method":"System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification","level":11,"line":0},
{"assembly":"ApiService, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.OneFuzz.Service.Queue+<SendMessage>d__5.MoveNext","level":12,"line":52,"fileName":"/home/runner/work/onefuzz/onefuzz/src/ApiService/ApiService/onefuzzlib/Queue.cs"}
]

Some other details from the error messages that may be useful:
CalledBy: Microsoft.OneFuzz.Service.Queue+<SendMessage>d__5
_MS.ProcessedByMetricExtractors: (Name:'Exceptions', Ver:'1.1')
AppVersion: <IP_ADDRESS>
Operation name: QueueFileChanges
SDKVersion: azurefunctions-netiso: <IP_ADDRESS>

Expected result
Messages should either be shortened or broken up to fit into the queue.
Actual result
Messages are dropped due to exceeding the size limitations of the queue.
AB#140774

@tevoinea is looking at a general solution for this

Thanks for the update. I'll keep an eye out for the changes.

@puhley I'll have a patch for this in our next release.
The ultimate general solution that George was talking about will involve a breaking change in a future release. The contents of the event payload will be scoped down (so that it's impossible for the data to be too large for Azure Queue) and the consumer of the events will have to download the event payload out of band using a SAS URL.


feat:add QAProvider lib

What type of PR is this?
What this PR does / why we need it
add QAProvider lib
able to publish our data-processing server to pypi
Which issue(s) this PR fixes
Fixes #3
Special notes for your reviewer

README.md
examples

try_qa_provider.py

libs

core

qa_provider

@wangxinbiao

@bjwswang  Please review again.


Allow RTMP streaming to domain name instead of RTMP

My domain name is setup using Cloudflare and I'd prefer to use that (aka mydomain.com:1935) as opposed to giving the user the raw IP address of the server
Is this possible? I've read through documentation and a lot online and haven't found anything, and my hack attempts at implementing it aren't working, thanks a lot and thanks for the great module you've made here!

You can't intake RTMP using CloudFlare, but you can broadcast streams using HLS via CloudFlare because HLS is a standard over HTTP protocol.  What I've done in the past is use 2 host names.  For people broadcasting streams, I give them a host name that goes straight to the real machine; for viewers, I direct them to CloudFlare.  Note that this could be against CloudFlare's TOS so if you're doing heavy duty stuff you shouldn't do it through CloudFlare.

@mayeaux Yeah, that's possible! I've implemented virtual hosts functionality in RTMP module according to HTTP module: https://github.com/winshining/nginx-http-flv-module.
With it, you can do it as what you do in HTTP module, for example:
publish: ffmpeg -re -i your_media_file.mp4 -c:v copy -c:v copy -f flv rtmp://your.domain.xxx/yourapp/yourstream
play: rtmp://your.domain.xxx/yourapp/yourstream

@winshining Sorry to ask a silly question here - but where do I place this module?

@pumpkinpieman You mean in the Makefile?


Warning when installing with angular 4

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
"bug"

What is the current behavior?
During install you get a warning when using with angular 4.x
warning<EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via

yarn add

What is the expected behavior?
No warning

What is the motivation / use case for changing the behavior?
To prevent warning noise the package should state its angular 4 compatibility

Please tell us about your environment:

Angular version: 4.1.2

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Pull request https://github.com/shlomiassaf/angular2-modal/pull/356

For me, it is completely f*d up, it doesn't allow me to show a simple select or display a table well. I am using Angular 4 as well.

Fixed in 3.0.0


Refresh Subscription

Hi,
I'm using Pushsharp to send GCM notifications and when I send to a particular registration Id the DeviceSubscriptionExpired callback is being fired.
This plugin doesn't seem to cater for this scenario as once there's a Token stored it continues to use that without checking if it's still valid.
Can you advise when I should be calling the unregister method?

Will check this issue and will work on supporting this
On Wed, Jan 6, 2016 at 5:51 AM, John<EMAIL_ADDRESS>wrote:

Hi,
I'm using Pushsharp to send GCM notifications and when I send to a
particular registration Id the DeviceSubscriptionExpired callback is being
fired.
This plugin doesn't seem to cater for this scenario as once there's a
Token stored it continues to use that without checking if it's still valid.
Can you advise when I should be calling the unregister method?
—
Reply to this email directly or view it on GitHub
https://github.com/rdelrosario/xamarin-plugins/issues/28.

Hi @JohnMcAvinue ,
were you able to find a workaround?
Same issue occurs to me.

Just released a new version that sends registration each time register is called. Let me know if fixes the issue, if not reopen this issue.

just wanted to let you know, that it fixed the issue!
keep up the great work, man. thanks a lot! :-)

Thanks for doing this. I ended up hacking your code so it doesn't persist the token and registers all the time. It seems to work well. Thanks for all your hard work!


Webpack: not loading font-awesome fonts

Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.2.5
node: 7.10.0
os: win32 x64
Related to #1463
I tried method mentioned by @omobono and @shri3k:
$fa-font-path: "~font-awesome/font";
@import "~font-awesome/scss/font-awesome";

and variations of it but it still doesn't work. After I build the project, I get 404 for the fonts. No matter what I put as $fa-font-path, they are being served from the root of the project.

working for me, tried today.
in my case it loads the font stuff from the same folder i specified for font-awesome.min.css
angular-cli.json
 "styles": [
"node_modules/font-awesome/css/font-awesome.min.css"
]

In my case all the fonts are loaded into dist folder, but the css points to the wrong directory.

So if you have a look in the above screenshot, on the left is the root folder location '/assets/accounts/dist' but if you look at the 404 error messages, the CSS tries to link to the fonts in the root - not in the '/assets/accounts/dist'.
I just need to figure out how to change the font urls in the css.

I was facing the same issue, turns out a slash was missing for the base-ref parameter, at its end. Fixed it running the build command like this: ng build --base-href /myapp/ --deploy-url /myapp/

@elvinmeza - yes, that fixes my problem.
Big thanks to @filipesilva for pointing me in the right direction.
So to explain how we resolved the issue.
I have the Angular 2 app running with Scala Play framework.
Front-end of the Play app is held in 'accounts' folder.
Hence in my 'accounts.scala.html' I have <base href="/accounts" />
Play framework serves all the static assets from  '/assets/accounts/dist/' folder.
When you run ng build the Angular-CLI will deploy all the files into 'dist' folder and the url paths in the css will also point to the dist folder - which is fine in most scenarios.
But when you open Play app in the browser, there is no directory like 'localhost/dist', so I was getting 404 for all fonts.
After I run ng build --deploy-url /assets/accounts/dist/
all the files including fonts are still output to the dist folder, but the --deploy-url flag changes the relative paths for all the assets that get referenced in css.
So now the url for the fonts in css stylesheet is: '/assets/accounts/dist/font-awesome.ttf';


Allow to configure the now hardcoded<EMAIL_ADDRESS>email address

<EMAIL_ADDRESS>is hardcoded in:
com/tle/core/email/impl/EmailServiceImpl.java:179
And it should be able to be configured as it is now for other parameters in the same fragment of code like the Smtp user or password.

https://github.com/equella/Equella/pull/76

Updated the PR with the default value for old institutions without this new parameter.

Merged, closing it


Add possibility to prefer IPv6, IPv4 or unspecified

Adds options to select preferred IP stack.

REDIS_OPT_PREFER_IPV4 = Try IPv4 first, then IPv6 if no IPv4 was found

REDIS_OPT_PREFER_IPV6 = Try IPv6 first, then IPv4 if no IPv4 was found

Both flags set = Use getaddrinfo() with AF_UNSPEC. This allows the user or sysadmin to configure preferred IP stacks in /etc/gai.conf.

None of these flags set = Try IPv4 first, for historical reasons.

Fixes #696.

Awesome, this is a nice improvement.  I'm happy to update our docs.


Jobs take longer in AC MXNET from Python 2.7 to Python 3.5

Ubuntu 18.04
The same job with the same number of iterations in Py 2.7 and Py 3.5
MXNET - Python 2.7 and 1 GPU
Training time:  11.1s
create() time:  25.88s
MXNET - Python 2.7 and 4 GPUs
Training time:  19.0s
create() time:  43.28s
MXNET - Python 3.5 and 1 GPU
Training time:  17.4s
create() time: 283.25s
MXNET - Python 3.5 and 4 GPUs
Training time:  49.93s
create() time: 204.95

Since we're no longer using MXNet, I'm going to close this issue.


Change UI of copy Invite link

Is your feature request related to a problem? Please describe.
Copy Invite link button is not different from other content. I want to change UI for this button.
Describe the solution you'd like
I can  make button look like

Currently it is looking like

Please assign issue to me.

you can use a  rather than button it may look good!

@iamabhi222 can you elaborate more, I am not able to understand

check material-ui tooltip component

Okk I will try to use that.

See I have made it like this. If its fine I will make pr @iamabhi222


Large number of files generated

media_sync is creating files (probably log files) which caused the maximum capacity of Inodes to be overloaded  on the server (from 0 to +6.5 million in 4 weeks !).

This is the likely cause: https://github.com/MerginMaps/mergin-py-client/issues/47

It does not appear to be the case. There are still several files generated as the result of media-sync

Python client needs updating in media-sync


Output  quality for img2img become lower

After updating to the latest bug fix version, the image quality of img2img becomes lower and blurry.

After updating to the latest bug fix version, the image quality of img2img becomes lower and blurry.

can  you upload json file?

b6fbe11b47c5a86a33ca6e4e7546ec72222d5565
json here
1206_HAND.json
output sample before update

after update

Thank you. I know what caused it.
The latest version is to reduce ram capacity and generation time.
The resolution of controlnet is reduced to (512,*) except for "controlnet_tile".
I thought that everything except "tile" would have no effect on the results, but I was wrong.
If you want to fix it now, the following should fix it
https://github.com/s9roll7/animatediff-cli-prompt-travel/blob/685903f39852f978337306bd1cd7bdcc0b29fb50/src/animatediff/pipelines/animation.py#L2780
no_shrink_type = ["controlnet_tile", "controlnet_depth"]

Thanks so much!
do I need to add openpose if I use it?

Perhaps openpose doesn't affect the quality even if the resolution is low.

@s9roll7
hello, it still have blur situation after your update!


Correct QR

This QR code returns an incorrect address and should be replaced with the QR created for the correct address.

@aggre
I already updated and mearge

Super awesome!!


WebOS keep getting authentication message in every reconnect

Hi,
You've wrote that:
Reconnect to device

ConnectableDevice *mDevice;
NSString *mRecentDeviceId;

(void) viewDidLoad {
[super viewDidLoad];
mRecentDeviceId = [[NSUserDefaults standardUserDefaults] objectForKey:@"recentDeviceId"];
[[DiscoveryManager sharedManager] setCapabilityFilters:myCapabilityFilters];
[[DiscoveryManager sharedManager] setDelegate:self];
[[DiscoveryManager sharedManager] start];
}

(void) discoveryManager:(DiscoveryManager *)manager didFindDevice:(ConnectableDevice *)device {
if (mRecentDeviceId && !mDevice) {
if ([device.id isEqualToString:mRecentDeviceId]) {
mDevice = device;
[device setDelegate:self];
[device connect];
}
}
}

I've used that but every time my iOS device tries to connect to the TV I get a confirmation request dialog on the TV.
Is it possible to make the TV remember the device and not asking for an authentication every time??
Thanks

an update: just checked this library:
https://github.com/hobbyquaker/lgtv2
And it seems like the TV have the ability to remember old devices without authenticating each time, using a key (something like this "54d71b982b7cd5ff6673ccb6df406sa0").
In the Connect SDK code it's probably the connectableDevice Id but it doesn't seem to work


Error if the speaker is not found

If the speaker is not reachable, Home-Assistant throws the following error in the log.
Is it possible to handle this situation? My speaker is connected to a smart plug and has only power when it is in use.
Log:
2019-02-05 21:53:22 WARNING (MainThread) [homeassistant.loader] You are using a custom component for customizer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-05 21:53:33 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform samsung_multi_room is taking over 10 seconds.
2019-02-05 21:53:33 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform samsung_multi_room
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 164, in _new_conn
    (self.host, self.timeout))
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x705e63b0>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=10)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=55001): Max retries exceeded with url: /UIC?cmd=%3Cname%3EGetFunc%3C%2Fname%3E (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x705e63b0>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=10)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/media_player/samsung_multi_room.py", line 175, in setup_platform
    add_devices([MultiRoomDevice(name, max_volume, api)], True)
  File "/config/custom_components/media_player/samsung_multi_room.py", line 115, in __init__
    self.update()
  File "/config/custom_components/media_player/samsung_multi_room.py", line 160, in update
    self._current_source = self.api.get_source()
  File "/config/custom_components/media_player/samsung_multi_room.py", line 101, in get_source
    return self._exec_get('GetFunc', 'function')
  File "/config/custom_components/media_player/samsung_multi_room.py", line 69, in _exec_get
    return self._exec_cmd('<name>{0}</name>'.format(action), key_to_extract)
  File "/config/custom_components/media_player/samsung_multi_room.py", line 64, in _exec_cmd
    req = requests.get(url, timeout=10)
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 504, in send
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='<IP_ADDRESS>', port=55001): Max retries exceeded with url: /UIC?cmd=%3Cname%3EGetFunc%3C%2Fname%3E (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x705e63b0>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=10)'))

I have new version for this component that lie in other private repo, that has fixed this issue. I will try to merge it today.

hey @chettai, I upgraded media player to use new async api for fetching information from soundbar.

Hi macbury
I still get errors. Perhaps I am missing something here.
2019-02-11 12:19:53 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.samsung_m7 fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 924, in _wrap_create_connection
    await self._loop.create_connection(*args, **kwargs))
  File "uvloop/loop.pyx", line 1879, in create_connection
  File "uvloop/loop.pyx", line 1858, in uvloop.loop.Loop.create_connection
OSError: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
    await self.async_device_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/config/custom_components/media_player/samsung_multi_room.py", line 178, in async_update
    self._current_source = await self.api.get_source()
  File "/config/custom_components/media_player/samsung_multi_room.py", line 118, in get_source
    return await self._exec_get('GetFunc', 'function')
  File "/config/custom_components/media_player/samsung_multi_room.py", line 86, in _exec_get
    return await self._exec_cmd('<name>{0}</name>'.format(action), key_to_extract)
  File "/config/custom_components/media_player/samsung_multi_room.py", line 76, in _exec_cmd
    response = await self.session.get(url)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 476, in _request
    timeout=real_timeout
  File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 522, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 854, in _create_connection
    req, traces, timeout)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 992, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 974, in _create_direct_connection
    req=req, client_error=client_error)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 931, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:55001 ssl:None [Host is unreachable]


NullReferenceException in NodeProviderOutOfProc.ShutdownAllNodes()

While debugging something else in Visual Studio, I hit a NullReferenceException here:
https://github.com/Microsoft/msbuild/blob/6851538897f5d7b08024a6d8435bc44be5869e53/src/Build/BackEnd/Components/Communications/NodeProviderOutOfProc.cs#L178-L181
ComponentHost.BuildParameters was null so accessing the EnableNodeReuse property was throwing.  I'm not sure why its null as I didn't have time to look into at the time

Duplicate of #1467


Laravel session store does not call open/close

Laravel Version: 5.5.25
PHP Version: 7.1.12

Description:
Laravel doesn't call the open / closed in the session store
https://github.com/laravel/framework/blob/5.5/src/Illuminate/Session/Store.php
This is causing issues with outside session drivers that except the open/close methods to be used.  One example currently is the MongoDBSessionHandlier from Symfony.  They have logic within the open method that stores the $sessionName.  If open isn't called, an exception is thrown when destroy is called.
In the discussion below, it is believed to be a caller issue as the PHP default file handler always uses open/close.
Steps To Reproduce:
See: https://github.com/symfony/symfony/issues/25445

How are you using the Mongo session handler in Laravel?
The problem is it is a change in upstream behavior from Symfony. Laravel uses all its own drivers now, so it doesnt directly affect Laravel anymore, except unless the framework wants to allow for other drivers by Symfony...

I am using Mongo with a custom driver I wrote that passes off the Symfony MongoDBHander to the driver manager in Laravel -- it was based partly on the laravel-monogodb-session package.  The issue, is that Laravel doesn't currently follow how PHP suggests a session should be handled.
The callbacks specified in session_set_save_handler() are methods called by PHP during the life-cycle of a session: open, read, write and close and for the housekeeping tasks: destroy for deleting a session and gc for periodic garbage collection.
http://php.net/session.customhandler
Open/Close are not currently being called and this can affect an external session driver.  I'm not sure if supporting these is desirable by Laravel as their implementation is custom.  Currently, it can lead to unexpected behavior for anyone who is writing a custom driver that excepts the session handier to behave like the PHP core one.
While I agree that Symfony committed a backwards breaking change (and should fix it) -- I think the issue lays deeper here if Laravel wants to support the way core PHP does sessions.  (Im not sure they do)

Do we really support the Symfony session stuff? I thought we had our own and the Symfony sessions are not used or supported.

The reason the changes only seems to affect the NullSessionDriver is because Laravel actually uses its own implementations of every other driver, and was only using the Symfony Null driver.
So this PR just creates our own Null driver, and we no longer rely on Symfony for it.

From https://github.com/laravel/framework/pull/22314

It's not the "Symfony session stuff" - its the SessionHandlerInterface which is defined in PHP.
Symfony has changed the way it implements the interface - and made it follow the expected flow of the interface (i.e. that open() is always called first). That is what lead to the Null Session driver issue.
So it's really a design decision for Taylor if he wants Laravel to also follow the interface principle more strictly, or if Laravel continues along as it has done.

Hey,
just i have a similar issue and maybe its related:
Iam using Laravel v5.5.26 with sessions in files. When i call session()->put('foo', 'bar); its added onto the session array stack but its not persisted. I need to call session()->save() so that its persisted until the next call. Is this intended? I remember in older versions that it was saved automatically?
Thanks, Flo

@FlorianWeigang The most common scenario is that you have a dd() or die() that terminates the request early. The session middleware persists the changes very late in the request lifecycle, after the views are rendered and sent back to the client.

@sisve thank you very much! its working now..


Remove deprecated Choropleth layers

Remove Chorpleth layers, docs and tests.
Add details to upgrade-guide.md.

Verified with run test-browser.

Dong see ChoroplethLayer in examples/sample-layers, it only has EnhancedChoroplethLayer.


Bug in Sidenav Collapsible Header in Angular 4

in line 4 of template of MzSidenavCollapsibleHeaderComponent are used [innerHTML] property and it generate warning in angular 4

It is also no longer possible to use the click event on this component
<mz-sidenav-collapsible-header (click)="onClick($event)">
   <i mz-icon-mdi [icon]="'menu-right'" class="caret"></i>Collapsible
</mz-sidenav-collapsible-header>

In the previous version these problems did not exist
Does anyone have an opinion on this? Thank you very much in advance

Thank you for the reporting.
Unfortunately we are not using Angular 4 yet, we will check it out soon when we're going to update.
In the meantime, PRs are welcome.

You will be able to use onOpen and onClose callbacks on mz-sidenav-collapsible on next release.
That should fix your ptoblem.


Generate index.html for instructor notes.

Automatically generated instructor notes are AWESOME! But I forgot the need to manually generate the index page for those.
Specs:

File name: index.html
Location: Derive it from the build.yaml entry instructor_notes. In this case it would be the parent of whatever is specified here.
The HTML & H1 title can be the course's name + "Instructor Notes"
For each uploadable and buildable file in the build.yaml create one entry in a bulleted list and just assume that there will be a resulting *.html file for that notebook - broken links for notebooks without instructor notes are not an issue here.

Here are two examples:

https://files.training.databricks.com/courses/ilt/Cert-Prep-Course/Cert-Prep-Course-0.3.0/amazon/instructor-notes/index.html
https://files.training.databricks.com/courses/ilt/Spark-ILT/Spark-ILT-4.0.0/amazon/instructor-notes/index.html

For context, you can see how they are used here:
https://files.training.databricks.com/courses/ilt

Added to bdc version 1.34.0.


Refactor Docker images

WHAT
The TractusX-EDC Docker images must be refactored to prepare for and reflect the planned changes to the Helm Charts
HOW
Excerpt rom the decision record:

The following changes need to be made to our Docker images:

rename edc-controlplane-memory -> -edc-runtime-memory
in edc-runtime-memory use FsVault instead of AzureVault
edc-runtime-memory contains an embedded data plane
rename edc-controlplane-postgresql -> edc-controlplane-postgresql-azure-vault
delete edc-controlplane-memory-hashicorp-vault

thus effectively resulting in the following structure:
edc-controlplane
|-> edc-runtime-memory
|-> edc-controlplane-postgresql-hashicorp-vault
|-> edc-controlplane-postgresql-azure-vault

edc-dataplane
|-> edc-dataplane-hashicorp-vault
|-> edc-dataplane-azure-vaul

closing, because refactoring the docker images should be done directly when creating the chart


scratch-debugger/debug.sh doesn't work anymore

The scratch-debugger/debug.sh script doesn't work anymore, I tried applying the fix suggested in #2728 but without any luck.
It seems like it doesn't find the docker socket on the host node:
sh: /mnt/rootfs/usr/bin/docker: not found

I'm running k8s version 1.8.3 on GKE
Besides that the README.md is also outdated to pass along a namespace or a container name it you should use flags instead of positional params but that's a separate issue.

Facing the same problem.
To check, I started debug container with command sleep 6000 and exec'd in it.
ls shows the docker binary but running it says not found.
$> ls -la /mnt/rootfs/usr/bin/docker
-rwxr-xr-x    1 root     root      15096620 Jan 10  2017 /mnt/rootfs/usr/bin/docker

$> /mnt/rootfs/usr/bin/docker
ash: /mnt/rootfs/usr/bin/docker: not found

Ran in to the same issue on a Container Linux box and issue turned out to be due to the fact that /usr/bin/docker is a shell script with the shebang #!/bin/bash. Not found is thrown because the debug container doesn't have bash in it. However, looking at the shell script further, it looks like it won't work with the way its mounted anyway.

/remove-lifecycle rotten


Add maximum roughness cutoff to SSR to improve performance (3.x)

3.x version of https://github.com/godotengine/godot/pull/56804.
In a test scene with mixed rough and non-rough materials, this saves 0.15-0.3 ms of GPU time with very little visual artifacting (GTX 1080, 2560×1440).
The roughness cutoff can be adjusted in the Environment properties. Setting it to 1.0 will result in the previous behavior being used.
Testing project (3.x): test_ssr_performance-3.x.zip
Preview
No roughness cutoff (previous behavior)

Roughness cutoff = 0.75 (new default)

A similar fade-out could be added here and then I guess it would be fine

Yes, I agree backporting both the fade-out and roughness cutoff makes sense. SSR looking too sharp and too present in 3.x is a common complaint after all.

Rebased and tested again, it works as expected. I've implemented @clayjohn's roughness cutoff from 4.x. However, this poses a challenge for the max_roughness setting, as the fadeout values don't depend on the roughness cutoff. I've tried min()/max()ing those with the max_roughness values, but it tends to look pretty bad in practice if you change the roughness cutoff from the default.
Screenshots in OP were updated to show the new visual and performance results.


convert the front ends to connecting to services.dartlang.org

Done - now using https://dart-services.appspot.com/api.


Allow to chose action in case of unsupported statsd operation

@mbellani, the case is quite straightforward. You need to export your data either to prometheus or to statsd, depending on the user's preference. You wouldn't want to use #[cfg(not(metrics-exporter-statsd))] to exclude metrics types that statsd doesn't support, particularly when writing a library

Fixed in #46 by removing the panics. Thanks again!


refactor: default 25 records per page on top accounts

Summary
https://app.clickup.com/t/862jzcvtd

Checklist

[ ] I checked my UI changes against the design and there are no notable differences
[ ] I checked my UI changes for any responsiveness issues
[ ] I checked my UI changes in light AND dark mode
[ ] I checked my (code) changes for obvious issues, debug statements and commented code
[ ] I opened a corresponding card on Clickup for any remaining TODOs in my code
[ ] I added a short description on how to test this PR (if necessary)
[ ] Documentation (if necessary)
[ ] Tests (if necessary)
[ ] Ready to be merged

@ItsANameToo should this be merged to staging? or is develop alright for this? :thinking:


About Dataset

Can you share the dataset used? We tried to download the image  in the LLaVA-med repository, but it was too slow.

Hi,
We've released the instruction finetuning dataset in https://arxiv.org/pdf/2406.09454.
Appendix A Data provides all details to guide you to download all the data.

Hi,
We've released the instruction finetuning dataset in https://arxiv.org/pdf/2406.09454.
Appendix A Data provides all details to guide you to download all the data.

Thank you for your reply. I have downloaded so the json files but the image.zip in llava-med is too slow to download, can you please share. Thank you.


Add iOS privacy manifests

Hello,
In my project, we are working on supporting PrivacyManifest to meet the latest privacy requirements on iOS.
Could you please confirm if there are plans to implement this support in the project?
I would appreciate any details regarding the plans and progress for implementing PrivacyManifest. Thank you for your consideration.

Released v1.4.0


Update energy analysis

Update code for root analysis on pion response and energy resolution. Add macro card for full TB dataset production, modify the analysis to run on multiple runs and apply correction on calibration constants as described in TB paper before energy resolution calculation.

Accepting PR #10.


Use generics for Multipage guis to make it easier to use subclasses of Gui as pages

This might not be needed anymore. So far, I've only ever used subclasses to achieve what was implemented in #10. Maybe we'll come back to this to add things like dragging menu items but at the moment I think that's not such an important feature. Plus when we do need it we can just implement it in the normal gui class so there shouldn't be any subclasses needed. Even if there is ever a reason to use subclasses this already isn't that hard to do even without changes to Gui


how to flip the adj matrix in tensor type back to edge_index and edge_ attr

❓ Questions & Help

Hi, folks, I use to_dense_adj convert batched sparse adjacency matrices given by edge indices and edge attributes to a single dense batched adjacency matrix, but later how to convert it back to corresponging edge indices and edge attributes. Does any function bulit-in supply this work?

You can do this by making use of nonzero, e.g.:
adj = ... # [num_nodes, num_nodes]
edge_index = adj.nonzero(as_tuple=False).t()
edge_weight = adj[edge_index[0], edge_index[1]]

You can do this by making use of nonzero, e.g.:
adj = ... # [num_nodes, num_nodes]
edge_index = adj.nonzero(as_tuple=False).t()
edge_weight = adj[edge_index[0], edge_index[1]]

great, thanks for sharing


Different behaviors when applying workspace edit

Version: 1.54.3 (system setup)
Commit: 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8
Date: 2021-03-15T10:55:45.459Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
Steps to Reproduce:

Clone the extension for test purpose: https://github.com/jdneo/vscode-workspace-edit-issue

This extension registers onDidCreateFiles() event listener and will insert a snippet when a new file is created. Meanwhile, it registers a command which will apply a workspace edit to create a new file and insert some words into the file. See: https://github.com/jdneo/vscode-workspace-edit-issue/blob/master/src/extension.ts#L6-L19

After setup the extension, debug it.
Open an empty folder in VS Code
Trigger the command Hello Wrold, a file generated contains all the content from the snippet and workspace edit.
Remove the generated file
Trigger the command Hello Wrold again, the content from the workspace edit is not applied.

https://user-images.githubusercontent.com/6193897/112606383-49694e80-8e53-11eb-8338-845ea0821ead.mp4

Does this issue occur when all extensions are disabled?: Yes/No

Seeing this error
ERR Error: file:///Users/jrieken/Code/_samples/devfest/NewFile has changed in the meantime
    at BulkTextEdits._validateBeforePrepare (bulkTextEdits.js:132)
    at BulkTextEdits.apply (bulkTextEdits.js:186)
    at BulkEdit._performTextEdits (bulkEditService.js:91)
    at BulkEdit.perform (bulkEditService.js:72)
    at async BulkEditService.apply (bulkEditService.js:165)

Tho, this only happens when you don't save the file before deleting it

@jrieken I'm curious what's the expected behavior for this situation when multiple edits are going to apply to the same document. Who should be the one to win the race condition 😄

@jrieken I can repro this both saving/without saving the new file before deleting it.
Just add some more background about this issue:
In VS Code Java, we registered a listener for the new file event to add file headers into that new file via snippet.
Meanwhile, there are some other code actions which will generate new files via workspace edit.
Today the behavior is: The workspace edit will take effect for the first time. But if the generated file is deleted and trigger the code action again, the workspace edit will not take effect anymore.

This is quite interesting and deep. @jdneo for now I might only have a workaround for you...
Trouble starts when delete happens. We don't send an onDidClose-event to the extension host because there are still references to that document (one is from  the openTextDocument-call). This means the extension still has the text document active and at a certain version. That by itself isn't a problem. Now, when the command is run a second time the following happens:

we create the file and pick-up the existing text document (at version 3)
we apply the initial text edit (the "Created from workspace edit" string) which increases the version to 4
the onDidCreate-event is fired
the extension is told about the new version of the text document

Now, at step 3 the "snippet-edit" is prepared and that's for version 3 - which is now outdated and therefore dropped...

I am looking into a fix for this but it might be more complex than I anticipated. As a workaround the following should work: When handling the onDidCreateFiles-event debounce things by a little (e.g. setTimeout(<handler>, 100)). That's an ugly workaround but should give enough time to receive the version-update event

Thank you @jrieken! I'll try the workaround tomorrow.

We don't send an onDidClose-event to the extension host because there are still references to that document (one is from the openTextDocument-call).

Turns out this is unwanted. There is code in place which disposes references to deleted and moved text documents (and thereby freeing/closing the document). This code wasn't working properly for the delete case and assuming we do everything right in the "internal" this shouldn't happen anymore. At least with my fix it doesn't reproduce anymore. I will double check and update this issue

This should be fixed, @jdneo please try with next insiders (and without a workaournd)

I directly used the Code Actions in Java(which does exactly the same thing) to test the fix on my Windows machine.  I tried to remove the file both with and without saving, the workspace edit can correctly applied to the new generated file.
Below is the Insider version I used:
Version: 1.56.0-insider (user setup)
Commit: b2d6cab998570dce35a80b0597758932cbfa7477
Date: 2021-04-29T14:45:56.276Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Thanks - adding verified label based on you feedback. Feel free to come back if there is anything left


Fix #142

Decay parameter of 'function returning type' to 'pointer to function returning type'

Let me know if there is a better way to pattern match ctype as a Type::Function.
I don't know the implications of creating a new Box (if any) since I am not a true Rustacean.
I added a test C code, but should I add any unit test for something like this? The C code referenced in #142 segfaults because it calls f() with the wrong number of parameters so I used a more sensible test case.

Let me know if there is a better way to pattern match ctype as a Type::Function.

You can also use is_function() which I implemented on Type, but the way you have it now is fine.

I don't know the implications of creating a new Box (if any) since I am not a true Rustacean.

This is fine (and actually required by the Type enum because it's a recursive type). All it does is move the struct to the heap, sort of like new in C++.

I added a test C code, but should I add any unit test for something like this? The C code referenced in #142 segfaults because it calls f() with the wrong number of parameters so I used a more sensible test case.

The unit tests are currently pretty ugly so I think a runner test is fine. The segfault in 142 is because it calls f() infinitely many times and runs out of stack space.


Convert the global functions used only in a single file to static functions

thanks. How did you find those?

How did you find those?

I use the following script to find global functions that are only used in a single source file.
#!/bin/bash

# Script to find global functions in a C file that can be converted to
# a static function (used only locally within the file).

CTAGS=ctags

if [ $# -lt 1 ]
then
    echo "Usage: $(basename $0) <filename(s)>"
    exit 1
fi

for fname in $*
do
    if [ ! -f $fname ]
    then
	echo "Error: File '$fname' is not found"
	exit 1
    fi

    echo "Analyzing global functions in file $fname"

    for fn in $(${CTAGS} -f - --kinds-c=f --extras=-F ${fname} | cut -f1)
    do
	count=$(grep -l $fn *.[ch] | wc -l)
	if [ $count -le 1 ]
	then
	    echo "$fn: $count"
	fi
    done
done

Nice, thanks!


should support single quotes

If the json is formatted like this
{
'myfield' : 'myvalue'
}
formatting or tree view fail.  It should not.

This is not JSON.


position tracking video

fix #397 video added to How to Use Tracking in Mergin Maps Mobile App

Tested, works well! 👍🏻


Sometimes it doesn't trigger the react event.

I'm trying to use this library to connect to a server.
Everytime a connection is established a welcome message is sent from the server to the client. So I have the script with the following function:
sub create_sockets(Str $server,
                   Int $port,
                   Str $username,
                   Str $password,
                   Int $connections,
                   Bool $TLS,
                   Bool $insecure
                   --> List
                   ){

    my @socket_list;
    my Lock $lock = Lock.new;
    my @promises := do for 1..$connections -> $i {
        start {
            try {
                my $conn;
                if $TLS {
                    $conn = await IO::Socket::Async::SSL.connect($server, $port, :$insecure);
                } else {
                    $conn = await IO::Socket::Async.connect($server, $port);
                }

                react whenever $conn.Supply -> $line {
                    print $line;
                    if $line ~~ /200/ {
                        await $conn.print("authenticate user $username\r\n");
                    } elsif $line ~~ /381/ {
                        await $conn.print("authenticate pass $password\r\n");
                    } elsif $line ~~ /281/ {
                        done;
                    } elsif $line ~~ /481/ {
                        $*ERR.print($line);
                        $conn.close;
                        exit(1);
                    }
                }
                $lock.protect: {
                    @socket_list.push($conn);
                }
                CATCH  {
                    default {
                        $*ERR.say: "Got exception: { .Str.say; }\n{ .message }";
                        $*ERR.say: .backtrace.full;
                        .die;
                    }
                }
            }
        }
    }
    my $all_done = Promise.allof(@promises);
    await $all_done;
    return @socket_list;
}

And sometimes it hangs.
Because i have a print $line  in the react i can see that when it hangs, is because 1 socket that doesn't enter the react block. This never happens with "IO::Socket::Async" (The problem is also not on the server).
I'm not sure how can i debug this. This was the best i could come up with. Is there anything wrong with that function? How can i debug this?
Thanks in advance,
David Santiago

Maybe it's related to https://github.com/rakudo/rakudo/issues/3995

From: https://www.nntp.perl.org/group/perl.perl6.users/2020/12/msg9555.html
There's a much better a simpler example located at https://github.com/dakkar/raku-socket-test-from-demanuel
Regards,
David Santiago

From: https://www.nntp.perl.org/group/perl.perl6.users/2020/12/msg9555.html
There's a much better a simpler example located at https://github.com/dakkar/raku-socket-test-from-demanuel
Regards,
David Santiago


Add "set gate height" action to Control Structures

Add "set_gate_height" to control structures. Gate height in m MSL

How would this work if users try to do this for open cross-sections?

Does the calcore already support this feature? And if so, how does the function call looks like?

Does the calcore already support this feature? And if so, how does the function call looks like?

@jpprins1
It is already added to the calcore (not in master yet). You can check it out in the branch "golnesa-controlStructure-rectangle" in structure_actions.f90.  It's called "set_gate_height".

I think the implementation can be analogous to set_discharge_coefficients. Valid combinations with set_gate_height would be v2_orifice, v2_weir, v2_pipe, v2_channel, and v2_culvert. Pipe, channel (and also culvert I suppose?) are "for internal use only" and use a flowline id (btw @jpprins1 can you please use flowline id instead of grid_id in the api reference?) instead of a structure_id

@jpprins1 @leendertvanwolfswinkel
A correction on the name of this new action; it is "set_gate_level", instead of "set_gate_height" (since we established the gate definition to be absolute)


update Julia, add MixedModels

update Julia version
add MixedModels package
restore IJulia notebook icon
make homework report api provide self scores when called by regular users (only admins or courseowners had access to it earlier which returned scored for all participants)

Thank you.


Implemented Light Theme

What does this PR fix/introduce?
Light Theme switch and styles implemented.
Reviewers
@andrzej-casper @Adrian-Wrona

@msalmeron please fix broken external links (see build failure)

The broken link is coming from this commit not related to any of our changes.
Let me know if any actions from our side are needed in order to merge this PR
Thanks!

@msalmeron I'l look into this, should never happen. You may need to do a rebase at some point once the underlying is fixed


libcrypto does not break macOS build

This is 5.6.0 on a macOS 14.5. Running ./configure --help says
--enable-libcrypto      use libcrypto MD5 if available (breaks Mac build)

but running ./configure --enable-libcrypto makes it build just fine.

Hi Jan, sorry for the delayed response!
At one point this was definitely broken because the include file openssl/md5.h seemed to be missing on Mac. I don't know if that got added at some point or the include path wasn't being set correctly, but interesting that it's no longer broken.
However the other reason I decided to ditch this is it was adding complexity with virtually no benefit. I never saw the MD5 calculation improve more than 5% using the library, and even in the worst case the MD5 calculation is only a small portion of the total time. The tradeoff didn't seem worth it, especially since MD5 is user-enabled.
The less I have to worrry about going forward the better....  :smile:


restructuring

based on #7
better split of app (joist) and core (field,...) + client side restructure

I'll merge now, just to keep things clean.


577 make prototypical iframes for testing purposes

@Hhk187 this branch has conflicting flies, it seems to be regarding the testing ground so shouldn't be a problem, but let me know if there's anything else severe that can be affecting things.

@Hhk187 @vitormaduro I have approved this pull request because upon my surface level inspection nothing seems destructive but I am waiting for you guys on checking and resolving file conflicts anyway, and leaving the merger to you because i don't want to screw up by accidentally letting something destructive pass by.


Add diagram back to RFC 3606.

This diagram was silently removed in 929c584a28012c2ba843099ec7b468d0d4730094, but it's an important part of the summary. This puts the diagram back. (This time hosted on github.)
Rendered

cc @traviscross

wouldn't it be better to put the diagram directly in this repository similar to the SVG for #2856

wouldn't it be better to put the diagram directly in this repository similar to the SVG for #2856

Moved it into the repository. Not sure if that works on github's previews, but it should work on the rfcs website/book/thing.


AVG results missing when GROUP BY

AVG is not working as expected
When taking AVG of data grouped by xyz it will correctly return one row per xyz but only first row contains the AVG data of the group. All other rows are empty.
SELECT person, avg(sold) FROM ? WHERE 1 GROUP BY person
could for example give
[{"person":1,"AVG(sold)":12.5},{"person":2},{"person":3}]
Jsfiddle: http://jsfiddle.net/3mctugc9/

SUM is working as expected
AVG is expected to behave the same way as SUM (but with a different output ◕‿◕ ) so just for a reference: When taking SUM of data grouped by xyz it will correctly get a response with one row per xyz contaning the sum for the group
SELECT person, sum(sold) FROM ? WHERE 1 GROUP BY person
could for example give
[{"person":1,"SUM(sold)":25},{"person":2,"SUM(sold)":10},{"person":3,"SUM(sold)":40}]

Got it. This is bug, I will find the reason tomorrow. Thank you for the issue!

It does not work with groups if number of elements in the group is equal to 1. I will fix it.

Sounds good.
I am looking into how we can structure a testsuite for alasql around the sqllogictest - see example here: https://raw.githubusercontent.com/grahn/sqllogictest/master/test/select1.test
Some of the tests looks like out of scope for alasql, but it could still be a good indication of how mutch alasql covers of "traditional" SQL

I fixed AVG problem, now it should work.
Thank you for the test. Currently, Alasql does not support construction like ORDER BY number, but I can add it to the program to pass the test:
    SELECT a,b FROM one ORDER BY 2,1

Hmmmm - the question is - is it important for alasql?
if we focus on main situations - and describe the cases not supported - then not everything needs to be  implemented.
Its a balance. Every feature has a price.

:) Looks like Brainf*ck language.
Anyway, the test is good to check all functionality. At least, the parser.

A large part of the SQL tests from https://raw.githubusercontent.com/grahn/sqllogictest/master/test/select1.test
fails. Thats ok as its identifying new areas of improvements.
Normally I would always keep one test script that ran everything, but have a feeling it would be better to seperate them so you can run the sqllogictest seperate.
What do you think?


Apply for volunteer of AIR CASH test.

Hello, I want to sign up as a volunteer for the AIRcash software test. I understand some blockchain knowledge and have a certain foundation in English.
I very much look forward to volunteers who can participate in this test.

Your application has been accepted but you have to pass this text which
will also reward you at the end ,click and register on the below link ,pass
the verification process, request for 3000# loan ,pay back the 3000# when
the loan is granted. I don't have to tell you to avoid greed else you will
fail the test
Good luck!!!!
Your friend invites you to use LCredit. Register now to receive N200 cash
voucher immediately. If you successfully borrow money, you can withdraw
N1500 cash reward immediately.
https://lcredit.ng/#/invite_new?userGid=23239492-fa25-40e7-9bf4-cabe552d3fa9&activityId=4
On Sep 14, 2021 12:14 PM, "Ameriaus" @.***> wrote:

Hello, I want to sign up as a volunteer for the AIRcash software test. I
understand some blockchain knowledge and have a certain foundation in
English.
I very much look forward to volunteers who can participate in this test.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Aircoin-official/AirCash/issues/60, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUP3UVIQDOTSAGHB5I2T3MLUB4VAVANCNFSM5D74Z6OQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Anyone who applied for the AirCash testing please join the discord channel for test volunteers.
https://discord.gg/eRSY7NtxZA


SOLR-16629 Replace SolrSingleThreaded and SolrThreadSafe annotations with JCIP

https://issues.apache.org/jira/browse/SOLR-16629
TODO double-check compileOnly in SolrJ means won't result in transitive dependency to 3rd parties.  Or maybe we don't care?
Trying to see if Lift/Infer/RacerD is helped by these annotations.

Some of the edits to build.gradle was a bit of re-organization; all I really did of substance is add one compileOnly to two files.  Maybe I should do such re-org separately; I would do even more organization.  I was trying to loosely order the dependencies.
@risdenk I could use some assistance:
* What went wrong:
[24](https://github.com/apache/solr/actions/runs/4003404424/jobs/6871480844#step:7:25)
Could not determine the dependencies of task ':solr:core:analyzeClassesDependencies'.
[25](https://github.com/apache/solr/actions/runs/4003404424/jobs/6871480844#step:7:26)
> Could not resolve all task dependencies for configuration ':solr:core:compileOnlyHelper'.
[26](https://github.com/apache/solr/actions/runs/4003404424/jobs/6871480844#step:7:27)
   > Could not find com.github.stephenc.jcip:jcip-annotations:.
[27](https://github.com/apache/solr/actions/runs/4003404424/jobs/6871480844#step:7:28)
     Required by:
[28](https://github.com/apache/solr/actions/runs/4003404424/jobs/6871480844#step:7:29)
         project :solr:core

I have some dissatisfaction with this dependency enforcement tool that you added.  I'm onboard with the best practice of declaring one's dependencies that are directly called but (a) the tool isn't smart enough -- we need to add permitUnusedDeclared and similar things, and (b) it doesn't understand the gradle concept of "api" in that it should be though of as inheriting a direct dependency rather than transitive.  So it's rather annoying.

So I'm not sure off hand right now - the only thing that jumps out from versions.lock is this:
net.jcip:jcip-annotations:1.0 (6 constraints: 6130731b)

There is no com.github.stephenc.jcip:jcip-annotations in https://github.com/apache/solr/blob/main/versions.props - yet this PR adds an explicit com.github.stephenc.jcip:jcip-annotations dependency so I think there should be a versions.props entry?

(a) the tool isn't smart enough -- we need to add permitUnusedDeclared and similar things

Do you have examples of this? I think spotbugs is one that might get fixed in later versions and hasn't been cleaned up. The other case being things that are used by reflection that a build tool can't understand. I don't see any egregious usages here. I know during reviews I've pushed back on adding permit* cases since they usually aren't needed. Those dependencies should be runtimeOnly for permitUnusedDeclared or other replacements without permit*.

(b) it doesn't understand the gradle concept of "api" in that it should be though of as inheriting a direct dependency rather than transitive.

I'm not sure I understand this case here. Related to this PR, I'm guessing you mean adding com.github.stephenc.jcip:jcip-annotations explicitly to build.gradle to both core and solrj. The idea here is to ensure that each Gradle module declares the dependencies that are used directly. This makes it really easy to see what dependencies are used by that module. This prevents breakages if the transitive dependency were to change out from underneath the module.
ie:

moduleA has an api dependency on moduleB
moduleB includes api dependency thingA
moduleA uses classes from dependency thingA

This works as long as moduleB includes dependency thingA. If someone comes along and says "o look only moduleB uses dependency thingA lets replace it with thingB", then that would break moduleA.
Th dependency analyze plugin forces moduleA to depend directly on thingA so that moduleB changes don't break moduleA.
Yes it looks redundant on the surface, but this only happens for dependencies directly used by a module to prevent this type of breakage.

So I'm not sure off hand right now - the only thing that jumps out from versions.lock is this:
net.jcip:jcip-annotations:1.0 (6 constraints: 6130731b)

This is a different jcip-annotations dependency :/
Additionally, there is no com.github.stephenc.jcip:jcip-annotations in https://github.com/apache/solr/blob/main/versions.props - yet this PR adds an explicit com.github.stephenc.jcip:jcip-annotations dependency so I think there should be a versions.props entry?

@dsmiley checked on your branch and adding com.github.stephenc.jcip:jcip-annotations=1.0-1 to versions.props fixed the issue. I thought there was a better error message for this case.

Thanks for your help Kevin!  User error on my part -- doh!  Maybe if that dependency analysis could dependOn "check".  I took a quick stab at this; sorta worked, sorta didn't.  Then I noticed it's likely the latest version of this plugin added this.  I don't see where we specify a version to use for this plugin.
RE "api":  Here's a practical example.  The solr:hadoop-auth module depends on solr:core (obviously).  Solr:core has an "api" dependency on solr:solrj-zookeeper.  The idea is that we have a dependency that is significant / prominent; it's not an internal implementation detail.  Its types show up in public methods/classes of solr-core in places.  Thus I think it's needlessly verbose for solr:hadoop-auth's build (or any other things that depend on solr-core) to specify any of solr-core's "api" dependencies.  These dependencies are on the surface, not buried below (like Guava say).  Today it has to because of this build dependency analysis plugin.  This plugin was ported from the Maven world where this "api" vs "implementation" distinction didn't exist.  I'm dubious about how much pain/suffering is prevented from this plugin when dependencies change.

Thus I think it's needlessly verbose for solr:hadoop-auth's build (or any other things that depend on solr-core) to specify any of solr-core's "api" dependencies. These dependencies are on the surface, not buried below (like Guava say).

So as far as I'm aware - for the dependency to need to be declared - classes must be used explicitly in the module in question. I would not be surprised if hadoop-auth is using classes directly from solrj-zookeeper so it needs to be defined in hadoop-auth. This protects against solr:core from removing the api dependency on solrj-zookeeper and breaking hadoop-auth module. It sounds obvious to a human that we would never remove solrj-zookeeper as an api dependency from core, but the computer doesn't know that. so we need to be explicit there on the hadoop-auth module.
I think the more interesting part is the ability to remove dependencies when they are no longer referenced - the negative to your example. Say guava or commons-io was removed from module classes (ie: replaced with JDK classes) in theory the dependency analysis would say "hey you have too many dependencies declared and they can now be removed" - this would also go for the case if hadoop-auth removed whatever was referring to solrj-zookeeper.
I understand the example you are giving, but we don't have to declare EVERY dependency form solr:core in hadoop-auth - only the ones that hadoop-auth is actually using in its classes.

I don't see where we specify a version to use for this plugin.

Some (all?) of the plugin versions are here: https://github.com/apache/solr/blob/main/build.gradle#L21

It sounds obvious to a human that we would never remove solrj-zookeeper as an api dependency from core, but the computer doesn't know that. so we need to be explicit there on the hadoop-auth module.

"need"?  Or else what bad thing could happen?  It's only "need"ed because this plugin we elected to use, for both better and here worse, doesn't recognize "api" dependencies as being different from "implementation".  IMO of course.

but we don't have to declare EVERY dependency form solr:core in hadoop-auth - only the ones that hadoop-auth is actually using in its classes.

It may not be many lines but I argue these particular lines, ones for transitive "api" dependencies, have zero value.  The best example I can give is solr-core depending on solrJ.  Basically every module depends on solr-core, and thus thanks to this build plugin further specifies SolrJ explicitly.  Is there value (relevance or consequence) in this tedious house-keeping?
Any way, I suppose the plugin offers more value than annoyance.


use doctest

I suggest to use documentation test as well as unit test we are currently using.
Documentation is missing api and reference.
https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#documentation-tests
The project does not have doctest yet.

I dont think Cairo supports doctest right now and there isn't much need to document the rust logic since it isn't meant to be used as a library


Cass operator Image 1.7.1 running as root user

What happened?
A non default user is not utilized in the image. This is a security concern.
Did you expect to see something different?
Expected to see a non-root user such as cass-operator with restricted access.
How to reproduce it (as minimally and precisely as possible):
Environment
kubernetes 1.19

Cass Operator version:
1.7.1
k8ssandra/cass-operator
sha256:dd57363b07948560e683610aa11715919b78f1c9a2671f0f4a1fb43a8f0f22b9
Insert image tag or Git SHA here

Kubernetes version information:

Kubernetes cluster kind:

Manifests:

insert manifests relevant to the issue

Cass Operator Logs:

insert Cass Operator logs relevant to the issue here

Anything else we need to know?:
┆Issue is synchronized with this Jira Task by Unito
┆Issue Number: K8SSAND-791
┆Priority: Medium

Hi @RoachMJ
This has already been fixed in the master branch and will be available in the next release. See https://github.com/k8ssandra/cass-operator/blob/master/Dockerfile.

Fixed in v1.8.0


Reporting all details of the update

What is your question?

What if the bf is not positioned further to the right?

Do the animations still work when left offline?


Fixes for fcanopy/LAI/esoil logic

[x] closes #821
[ ] tests passed
[ ] new tests added
[ ] science test figures
[ ] ran uncrustify prior to final commit
[ ] ReleaseNotes entry

@tbohn thanks for putting this together. I have tested this on a pure bare soil gridcell in the RASM domain and the behavior is what we want, e.g. this fixes the issue we were seeing before with no bare soil evaporation except during times of snow for pure bare soil gridcells.
@bartnijssen and @jhamman, would either of you also like to do a review?


[Segment Replication] Mute flaky testIndexingWithSegRep test

Description
Mute testIndexingWithSegRep test after it is still found to be flaky post last fix. The test today fails because replica shard is remains lagging primary shard on checkpoints_behind metric which is verified here. This assertion is important to ensure replica eventually catches up with primary but it is found replica is still not able to catch up with primary after 1 minute of wait.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Related #7679
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

Gradle Check (Jenkins) Run Completed with:

RESULT: FAILURE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/22711/
CommitID: 0475997
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure a flaky test unrelated to your change?

https://github.com/opensearch-project/OpenSearch/issues/9327

Gradle Check (Jenkins) Run Completed with:

RESULT: UNSTABLE ❕
TEST FAILURES:

      1 org.opensearch.remotestore.multipart.RemoteStoreMultipartIT.testRemoteTranslogCleanup
      1 org.opensearch.remotestore.RemoteStoreIT.testRemoteTranslogCleanup

URL: https://build.ci.opensearch.org/job/gradle-check/22714/
CommitID: 0475997
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

RemoteStoreIT/RemoteStoreMultipartIT testRemoteTranslogCleanup -> https://github.com/opensearch-project/OpenSearch/issues/9327


[FLINK-31637][network] Implement the BufferAccumulator for the tiered storage

What is the purpose of the change
Implement the BufferAccumulator(in a hash mode , only accumulate a buffer) for the tiered storage
Brief change log

Implement the BufferAccumulator for the tiered storage

Verifying this change

added a test BufferAccumulatorImplTest to verify the chagne.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (not documented)

@xintongsong  Thanks for helping review. I addressed the comments with a fix-up commit.

@xintongsong Thanks a lot for the quick review.

@reswqa Thanks for helping review the change. I have addressed the comments with a fix-up commit. Could you help take a look again?


[1_x_release_branch] Include "empty" privacy manifest file

Include it as a resource in both SwiftProtobuf library and SwiftProtobufPluginLibrary when built via podspec or swiftpm
Cherry-pick from #1565

This seems to DTRT for Swift 5.6 and later.  The older Package.swift can't support resources, but that shouldn't be an issue for folks submitting to Apple's App Store (which is what the privacy manifests are for).


fix wrong var in template

The moderator information under the user card in the home tab was not being shown due to the variable being checked having been changed and not updated in the template.

Closing this, there may be additional related issues that need to be fixed, I'll add them to this PR.

Looks like that was the only issue after more testing. This should be the only change needed.


Remove unnecessary include of HeaderFile

This is just removing an include that is not required.

Jenkins:
http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/9976/

Jenkins blue besides the known one.
If this actually caused trouble I would have lost my faith in programming ;)


[DO NOT MERGE] Add GTM tracking module initial version

What
Adds JavaScript to handle Google Tag Manager (GTM) tracking.

listens for clicks on elements with data-module="gtm-tracking"
expects a data-gtm-attributes attribute on the clicked element, containing an object that can be extracted using JSON parse to get the required attributes to push to the GTM dataLayer

All this script currently does is push to the dataLayer. It requires that GTM has been initialised at the application level using the Google Tag Manager script component for anything to actually be registered in GA.
This PR is currently incomplete as there are unanswered questions about the attributes and how they will work. Mainly:

for attributes that are component specific, how do we add these to components - are they hard coded into the component or always passed
what the values for a lot of these attributes should be

Why
We're migrating towards GA4 with Google Tag Manager and this is part of the initial work to prepare for that.
Visual Changes
None.
Trello card: https://trello.com/c/PBL5ZR5c/841-ga4-push-gtm-data-from-clicks-to-the-action-link-component

Closing this PR as the technical complexity and effort involved to add tracking to all components is demonstrably too much. Will try a different approach.


Support unit tests with WebDriver

See http://www.w3.org/TR/webdriver/

I noticed the MDN docs for this still need some work:
https://developer.mozilla.org/en-US/docs/Web/WebDriver


Google logo missing but sso working

I am getting 400 bad request error for this api. This api gets called when your page (login or index) gets loaded and return the html of the button. This below api gives 400 bad request error(see below image) in production but in localhost its working fine.
https://accounts.google.com/gsi/button?type=icon&theme=outline&size=large&text=undefined&shape=pill&logo_alignment=undefined&width=undefined&locale=undefined&click_listener=undefined&client_id=780874297945-onnb84i8bmuaeli6vgpf2onch4up9r4o.apps.googleusercontent.com&iframe_id=gsi_832192_371730&as=b7N5%2FZ1fsOGujD%2FFlSZ9rA

As you can see below I only get the round icon but not the G logo inside it. I have added my domain in console and our domain is https only. Any potential findings that you find in this usecase?

version: 0.12.1

@KoushikVanama I'm facing the exact same issue. Did you find any solutions to that?

I figured out the issue. My site uses different TLDs, and it wasn't working for some of them. Upon investigation, I discovered that the domains were not listed in the Google Console Manager.
After adding the missing TLD URLs, it started working. However, you must include the full URL with the protocol.
For example, "www.github.com/" may not work, but "https://www.github.com/" will. Hope this helps others!


Version 2.1

Added /papi command default implementation.
Separated expansions into a Registry for future use.

Oops didn't realize i pushed my update already.


Fix post processing of jobs when changing windows

This removes s:{loc,qf}list_nr, where s:loclist_nr was using the
(unstable) winnr of the maker.

Fails for Vim-async.. :/


Auto hiding the bookmarks bar is broken in v117.0

The bookmarks bar no longer shows when hovered over it.

Why closing

fixed it: https://github.com/Zabooby/firefox-config

You should upstream. It's not only about scratching your own itch, but about noticing a problem upstream and working on it for the solution to become better

Totally agree, I've actually made the only pr on this repo. But I created my own because this one seems to be dead in the water unfortunately.

Totally agree, I've actually made the only pr on this repo. But I created my own because this one seems to be dead in the water unfortunately.

No grief, you did what was right


MedusaBackupSchedule to filter by namespace

What is missing?
Curretnly, MedusaBackupSchedule will look for the cassandraDatacenter name only to launch the backup.
Maybe it's better to add more filter, like namespace.
Why do we need it?
In my environment, I create a k8ssandracluster per namespace. Each k8ssandracluster has the same cassandraDatacenter name.
It's impossible to set the backup separately for each k8ssandracluster in the different namespace.
Environment
kubelet V1.21.14-00

K8ssandra Operator version: V1.5.2

Anything else we need to know?:
May I missed something. Any other filter for MedusaBackupSchedule ?

Hey,
Both MedusaBackupSchedule as well as MedusaBackupJob use the same definition for backup jobs. There shouldn't be any confusion between objects, as each CassandraDatacenter name can only appear once in the same namespace (and the BackupJob / Schedule has namespace tied to it).
That is - this is tied to the CassandraDatacenter name, not K8ssandraCluster's DatacenterName (those can overlap, but are not used for backups). So create the MedusaBackupSchedule / BackupJob to the same namespace as the datacenter and it will only backup that datacenter.
@adejanovski This is indeed a confusing issue if one uses DatacenterName overrides, the backups are going to require user to know about the CassandraDatacenter ObjectMeta.Name, not anything with DatacenterName.

@adejanovski This is indeed a confusing issue if one uses DatacenterName overrides, the backups are going to require user to know about the CassandraDatacenter ObjectMeta.Name, not anything with DatacenterName.

yes, we knew that the name override could create some confusion one way or the other. Maybe we can drop a sentence in the docs to make it clear the CassandraDatacenter value should be the k8s object name of the DC?
But it is not what's reported here though and you're right about having to place the MedusaBackupSchedule/MedusaBackup objects in the right namespace.

I'll go ahead and close this ticket as what you're asking is already possible @shaotingcheng.
Feel free to reopen if you run into more issues there.

@adejanovski @burmanm Thanks for the prompt replies.
Even though I replace the MedusaBackupSchedule in a particular namespace, the backup will include all nodes among different namespaces.
Here is my environment:
I installed k8ssandra-operator in "k8ssandra-operator" namespace with value clusterScoped: true
I have 7 other namespaces, ns1, ns2, ..., ns7 to run 7 independent Cassandra clusters.
In each namespace, I configured them with the same way.

1 CassandraDatacenter whose name is "dc1"
5 Cassandra POD
** cassandra-dc1-r1-sts-0
** cassandra-dc1-r1-sts-1
** cassandra-dc1-r2-sts-0
** cassandra-dc1-r2-sts-1
** cassandra-dc1-r3-sts-0

If I place a MedusaBackupSchedule in ns1 namespace
apiVersion: medusa.k8ssandra.io/v1alpha1
kind: MedusaBackupSchedule
metadata:
  name: medusa-backup-schedule
  namespace: ns1
spec:
  backupSpec:
    backupType: differential
    cassandraDatacenter: dc1
  cronSchedule: 33 6 * * *
  disabled: false

Here is the status of MedusaBackupJob
status:
  failed:
    - cassandra-dc1-r1-sts-0
    - cassandra-dc1-r2-sts-0
    - cassandra-dc1-r3-sts-0
    - cassandra-dc1-r1-sts-1
    - cassandra-dc1-r2-sts-1
    - cassandra-dc1-r1-sts-1
    - cassandra-dc1-r2-sts-0
    - cassandra-dc1-r3-sts-0
    - cassandra-dc1-r2-sts-1
    - cassandra-dc1-r3-sts-0
    - cassandra-dc1-r2-sts-1
    - cassandra-dc1-r2-sts-0
    - cassandra-dc1-r1-sts-1
    - cassandra-dc1-r1-sts-1
    - cassandra-dc1-r2-sts-0
    - cassandra-dc1-r2-sts-1
    - cassandra-dc1-r2-sts-0
    - cassandra-dc1-r1-sts-0
    - cassandra-dc1-r3-sts-0
    - cassandra-dc1-r3-sts-0
    - cassandra-dc1-r1-sts-0
    - cassandra-dc1-r1-sts-1
    - cassandra-dc1-r2-sts-1
    - cassandra-dc1-r2-sts-0
    - cassandra-dc1-r1-sts-0
    - cassandra-dc1-r1-sts-1
    - cassandra-dc1-r3-sts-0
    - cassandra-dc1-r2-sts-0
    - cassandra-dc1-r2-sts-1
  finishTime: '2023-03-15T06:09:45Z'
  finished:
    - cassandra-dc1-r2-sts-1
    - cassandra-dc1-r1-sts-1
    - cassandra-dc1-r3-sts-0
    - cassandra-dc1-r1-sts-0
    - cassandra-dc1-r1-sts-0
    - cassandra-dc1-r1-sts-0
  startTime: '2023-03-15T06:00:15Z'
spec:
  backupType: differential
  cassandraDatacenter: dc1

Apparently, It includes not only POD in ns1 namespace, but all PODs among all namespace because their CassandraDatacenter  have the same name "dc1"

Okay, that looks to be a bug here: https://github.com/k8ssandra/k8ssandra-operator/blob/main/pkg/medusa/utils.go#L16
It's missing NamespaceAware Client and using the ClusterScoped client instead (from quick look).


No preview no export PDF

You should give usage

@TracyDa, I don't know whether this will help, but I was able to use latexmk for "live preview" on windows. If you have it installed (it should come with MIKTex and TexLive - try latexmk -v in a terminal), you can simply run latexmk -pvc -pdf [tex-filename] and it will watch for changes in any of the used src files and recompile the sufficient amount of times to generate a new pdf, including bibtex etc.
You'll also need a PDF viewer that updates on file changes, e.g. SumatraPDF.


Reorganizing

Replacing extensive prop drilling by AppContext + AppRouter file + constants + removing unused constants

After discussion, this is being closed for now.


List Helm charts on Artifact Hub

Are there plans to list the Helm charts on artifact hub?

@tomkerkhove not yet. Any help is appreciated

Working on it

Once the PR is merged, we need to take these actions:

[ ] Share an email address(es) with Tom to add as owner on Artifact Hub org
[ ] Change Artifact Hub configuration to use new owner(s)

Thank you @tomkerkhove , I've sent you a direct message in CNCF slack


Hive warehouse replicaton and hive batch metastore replication

Hi,
If I want to send hive/warehouse replication from one cluster to another cluster its not successfull.
can you send me some parameter are requried for changes and which user to run.how to use blacklist parameter with database and tables.
and one of batch.metastore.replication which configuration file is edit.
one is mysql and  second one is without mysql.

Sorry, could you be a little more specific in your request?

Looks like this one was from a long time ago, so I will go ahead and close this one. Please re-open as necessary.


except Exception, e: / SyntaxError: invalid syntax

Hi,
While trying to test some sample images, I got this far:
$ echo j_e6a6aca6.png | python colorific.py
File "colorific.py", line 48
  except Exception, e:
                  ^
 SyntaxError: invalid syntax

Could it be something with the python version  I got here ? My system params:
Linux Arch 3.3.5
Python 3.2.3
python-imaging 1.1.7-4
python-colormath-git 20120512-1
python2-numpy 1.6.1-1
Thanks

Hi, I know this post is very old, but since I am getting the same error as the original issue and Google didn't provide me with a better answer...I would like to know if the support to python 3 was released...
I've installed with pip3 install MplayerCtrl and I didn't find a more recent way to install it. Sorry if this is just me being noob...

@gabycperezdias colorific seems to support python version 3. Do you mean MplayerCtrl? Is colorific dependency of MplayerCtrl?

Hi @gkmngrgn SO sorry... I was searching for the MplayerCtrl, and I didn't realize that this was not about it... that's why I removed the post... I thought it was in time for you not to receive the message. SO sorry again.

@gabycperezdias no problem, please contact me directly if you still need any help. 👍


Incorrect drone webhoook settings when using drone OAuth2

Gitea version (or commit ref):  1.9.0+dev-254-g710245e81
Git version:
Operating system: Mac
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:

Description
When using drone OAuth2 mode with gitea, webhook actived by drone in table webhook has missing field http_method. Then the webhook stop working.
And, in repo's webhook setting page, I can not change and save this value.
Screenshots

Closing as duplicate. Issue has been solved with #6951


Copy Button don't work on Firefox

Copy button works fine on chrome, but does nothing and gives error on Firefox.
https://github.com/TheOriginalAyaka/sekai-stickers/assets/77015143/f51fa735-3848-4fba-8afb-552e3df7ad1b

Hi there, thanks for reporting this issue, I have checked and it seems that Firefox is not fully compatible with the clipboard API (https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem).
I'll look for an alternate solution.

Copying to image exists in Firefox, but is currently held behind a flag.
If you really want to, go to about:config and set the flag dom.events.asyncClipboard.clipboardItem to true.
In the interim, it might be nice to have a little notice saying if copying was successful or not.
(It does seem Firefox supports the old, deprecated way of copying stuff through Document.execCommand()? I'll look into it, if you don't mind.)


Undocumented /aft/config/aft-ssh-key and red herring error returned

I noticed the following error in a couple builds
[Container] 2022/02/22 19:00:38 Running command ssh_key_parameter=$(aws ssm get-parameter --name /aft/config/aft-ssh-key --with-decryption || echo "None")
--

An error occurred (ParameterNotFound) when calling the GetParameter operation:

This ssm param is undocumented /aft/config/aft-ssh-key and the aws ssm get-parameter should output its error to stderr to prevent the above error.
This is located in a few places
https://github.com/aws-ia/terraform-aws-control_tower_account_factory/search?q=%2Faft%2Fconfig%2Faft-ssh-key

Thank you for the great call out.
The SSM parameter /aft/config/aft-ssh-key was being used during beta release of AFT and is no longer being used. I will go ahead and create a backlog to remove these lines from our code.

Release 1.3.4 suppresses the misleading ParameterNotFound error.


there is no sbt-spark-package:0.2.4/0.2.5, how can i configure the right configuration ?

according to
resolvers += "bintray-spark-packages" at "https://dl.bintray.com/spark-packages/maven/"

  addSbtPlugin("org.spark-packages" % "sbt-spark-package" % "0.2.5")

but there is no sbt-spark-package:0.2.5 in "https://dl.bintray.com/spark-packages/maven/org/spark-packages/sbt-spark-package/" ,
.
so what is the newest configuration ?
my scala version is 2.11.8

It looks like it does exist on this url: https://dl.bintray.com/spark-packages/maven/org/spark-packages/sbt-spark-package_2.10_0.13/0.2.5.

what should i do ?
Rollback scala to 2.10.6  ?
And my sbt version is 0.13.13

Sbt will figure out and download version it needs for the project, this is normally specified in build.properties file. You don't need to change your Scala version, just clone repository and run build command, it should work. SBT will download necessary build dependencies.

it's my fault:
i added -Dsbt.override.build.repos=true to the file : $SBT_HOME/config/sbtopts. so the app code project/plugin.sbt is overrided.


Handle mode, scale change

Also consider output transforms.
I use a tablet device and often rotate screen output.

I assume this issue refers to the scale factor when you set up your outputs so you can increase the fonts on hidpi screens?
Because, in my case, setting scale 1.3 the modules-right section is moving off screen.
Just clarifying the issue here.

Just wanted to to add that this issue is affecting me when changing the scale dynamically using custom waybar module as described in https://github.com/Alexays/Waybar/wiki/Module:-Custom#sway-output-scaling-toggle
When I click the custom toggle button, sway scaling changes correctly. However, clicking with left mouse button anywhere on Waybar after scale change does not work as expected. Waybar reacts as if I am clicking on the same toggle button even though I am clicking on some other widget. Workaround for that is right-clicking with the mouse anywhere on Waybar, after which left clicks start working as expected.


Cannot join 3rd server managed etcd cluster due to unhealthy cluster error from etcd

Environmental Info:
K3s Version:
k3s v1.19.3+k3s3 (0e4fbfef)
Node(s) CPU architecture, OS, and Version:
Linux rnd-cloud1-master3 5.4.0-53-generic #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
3 managed etcd servers with agents
Describe the bug:
Cannot join 3rd server to cluster due to unhealthy cluster error
Steps To Reproduce:
Unknown - somehow failed to install on the 3rd node; etcd says its in the cluster but kubernetes does not.
Expected behavior:
All servers join the cluster
Actual behavior:
root@rnd-cloud1-master1:~# kubectl get nodes
NAME                 STATUS                     ROLES         AGE   VERSION
k3s-node1            Ready                      <none>        11h   v1.19.3+k3s3
k3s-node2            Ready                      <none>        11h   v1.19.3+k3s3
k3s-node3            Ready                      <none>        11h   v1.19.3+k3s3
k3s-node4            Ready                      <none>        11h   v1.19.3+k3s3
rnd-cloud1-master1   Ready,SchedulingDisabled   etcd,master   12h   v1.19.3+k3s3
rnd-cloud1-master2   Ready                      etcd,master   12h   v1.19.3+k3s3

first and second masters have been created successfully but third NO, and I try create it on several VM, but this fall down with the same error:
Nov 14 11:06:24 rnd-cloud1-master3 systemd[1]: k3s.service: Scheduled restart job, restart counter is at 7364.
Nov 14 11:06:24 rnd-cloud1-master3 k3s[225167]: time="2020-11-14T11:06:24.388671557+03:00" level=info msg="Starting k3s v1.19.3+k3s3 (0e4fbfef)"
Nov 14 11:06:24 rnd-cloud1-master3 k3s[225167]: time="2020-11-14T11:06:24.469233538+03:00" level=info msg="Managed etcd cluster not yet initialized"
Nov 14 11:06:24 rnd-cloud1-master3 k3s[225167]: time="2020-11-14T11:06:24.496182490+03:00" level=info msg="Adding https://<IP_ADDRESS>:2380 to etcd cluster [rnd-cloud1-master2-1d7a7cff=https://<IP_ADDRESS>:2380 rnd-cloud1-master3-8daba003=https://<IP_ADDRESS>:2380 rnd-cloud1-master1-7284ec75=https://<IP_ADDRESS>:2380]"
Nov 14 11:06:24 rnd-cloud1-master3 k3s[225167]: {"level":"warn","ts":"2020-11-14T11:06:24.497+0300","caller":"clientv3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"endpoint://client-35e8bba2-6b57-4368-ab00-c1d65bc89957/<IP_ADDRESS>:2379","attempt":0,"error":"rpc error: code = Unavailable desc = etcdserver: unhealthy cluster"}
Nov 14 11:06:24 rnd-cloud1-master3 k3s[225167]: time="2020-11-14T11:06:24.498041869+03:00" level=fatal msg="starting kubernetes: preparing server: start managed database: joining etcd cluster: etcdserver: unhealthy cluster"
Nov 14 11:06:24 rnd-cloud1-master3 systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 11:06:24 rnd-cloud1-master3 systemd[1]: k3s.service: Failed with result 'exit-code'.

Additional context / logs:
This is taken from https://rancher-users.slack.com/archives/CGGQEHPPW/p1605341375146500?thread_ts=1605302190.133700&cid=CGGQEHPPW
It looks like etcd currently thinks it has a 3-node cluster with an offline member. Adding a 4th node would break the quorum math, so another member cannot be added until all three nodes are online, or the offline member has been deleted.

Same issue here , it seems to be random as sometime it does'nt happen ( reproducing it using same ansible script )

@adi90x can you share any logs from when you've had this occur? In particular if you had k3s service logs from both the first server and the server that failed to join, that would be immensely helpful.

Hello,
Below are log from node trying to join ( using -v 10 ) :
déc. 06 19:13:45 new-server.dev systemd[1]: Starting Lightweight Kubernetes... déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381106   26381 interface.go:400] Looking for default routes with IPv4 addresses déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381182   26381 interface.go:408] Default route transits interface "ens18" déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381340   26381 interface.go:208] Interface ens18 is up déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381443   26381 interface.go:256] Interface "ens18" has 2 addresses :[new-server-ip/22 new-server-ipv6/64]. déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381476   26381 interface.go:223] Checking addr  new-server-ip/22. déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381494   26381 interface.go:230] IP found new-server-ip déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381514   26381 interface.go:262] Found valid IPv4 address new-server-ip for interface "ens18". déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381529   26381 interface.go:414] Found active IP new-server-ip déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.381567   26381 services.go:51] Setting service IP to "<IP_ADDRESS>" (read-write). déc. 06 19:13:46 new-server.dev k3s[26381]: time="2020-12-06T19:13:46.381606378Z" level=info msg="Starting k3s v1.19.4+k3s1 (2532c10f)" déc. 06 19:13:46 new-server.dev k3s[26381]: time="2020-12-06T19:13:46.493264982Z" level=info msg="Managed etcd cluster not yet initialized" déc. 06 19:13:46 new-server.dev k3s[26381]: I1206 19:13:46.517010   26381 services.go:51] Setting service IP to "<IP_ADDRESS>" (read-write). déc. 06 19:13:46 new-server.dev k3s[26381]: time="2020-12-06T19:13:46.555782139Z" level=info msg="Adding https://new-server-ip:2380 to etcd cluster [OtherworkingNode-15bcc285=https://working-node-ip:2380 OtherworkingNode2=https://<IP_ADDRESS>:2380]" déc. 06 19:13:46 new-server.dev k3s[26381]: {"level":"warn","ts":"2020-12-06T19:13:46.560Z","caller":"clientv3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"endpoint://client-e4b1042f-f0d5-406f-aef2-1d89d2df1a10/working-node-ip:2379","attempt":0,"error":"rpc error: code = Unavailable desc = etcdserver: unhealthy cluster"} déc. 06 19:13:46 new-server.dev k3s[26381]: time="2020-12-06T19:13:46.560381600Z" level=fatal msg="starting kubernetes: preparing server: start managed database: joining etcd cluster: etcdserver: unhealthy cluster" déc. 06 19:13:46 new-server.dev systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE déc. 06 19:13:46 new-server.dev systemd[1]: k3s.service: Failed with result 'exit-code'. déc. 06 19:13:46 new-server.dev systemd[1]: Failed to start Lightweight Kubernetes.
Hope it may help , but there is nothing that seems interessting...

At this point it is expected that all etcd servers can reach each other at their private IP addresses.

Any update on this issue ? Did anyone find a way to for etcd to listen on public ip ?

@adi90x this is not currently possible. It only advertises the private address.

Closing due to age - can reopen if the issue re-emerges

I'm having this issue, can we re-open this ?

same issue here ... how to fix

@dberardo-com open a new issue and fill out the issue template.