Ryuk failed to start (with lima)

Mac Os BigSur 11.6.3 Intel
org.testcontainers:postgresql:1.16.3
I use lima 0.8.2 with docker
Client: Docker Engine - Community
 Version:           20.10.12
 API version:       1.41
 Go version:        go1.17.5
 Git commit:        e91ed5707e
 Built:             Sun Dec 12 06:28:24 2021
 OS/Arch:           darwin/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.12
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.12
  Git commit:       459d0df
  Built:            Mon Dec 13 11:43:41 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.12
  GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

DOCKER_HOST=unix:///Users/varpa89/.lima/default/sock/docker.sock
Looks like when Testcontainers tries to run Ryuk it uses wrong Docker daemon or I understand it wrong?
At the end I have
Caused by: com.github.dockerjava.api.exception.NotFoundException: Status 404: {"message":"No such container: 8de66959ff20ff4f6a16b5f08e7bac732eae1b91b62b7ff3d816e666c4c82945"}

Detailed startup logs of Spring Boot aplication
2022-02-13 20:05:17.069  INFO 99607 --- [    Test worker] o.t.d.DockerClientProviderStrategy       : Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///Users/varpa89/.lima/default/sock/docker.sock
2022-02-13 20:05:17.070  INFO 99607 --- [    Test worker] org.testcontainers.DockerClientFactory   : Docker host IP address is localhost
2022-02-13 20:05:17.181  INFO 99607 --- [    Test worker] org.testcontainers.DockerClientFactory   : Connected to docker:
  Server Version: 20.10.12
  API Version: 1.41
  Operating System: Ubuntu 21.10
  Total Memory: 3919 MB
2022-02-13 20:05:17.185  INFO 99607 --- [    Test worker] o.t.utility.ImageNameSubstitutor         : Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
2022-02-13 20:05:17.248  INFO 99607 --- [    Test worker] o.t.utility.RegistryAuthLocator          : Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: testcontainers/ryuk:0.3.3, configFile: /Users/varpa89/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /Users/varpa89/.docker/config.json (No such file or directory)
2022-02-13 20:05:18.665  WARN 99607 --- [    Test worker] o.testcontainers.utility.ResourceReaper  : Ryuk container cannot be inspected and probably had a problem starting. Ryuk's logs:
2022/02/13 19:05:18 Pinging Docker...
panic: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

goroutine 1 [running]:
main.main()
	/go/src/github.com/testcontainers/moby-ryuk/main.go:36 +0x457

2022-02-13 20:05:19.676 ERROR 99607 --- [    Test worker] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Exception during pool initialization.
java.lang.IllegalStateException: Ryuk failed to start

Setting these env variables works for me
TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
DOCKER_HOST=unix:///Users/my.user/.colima/docker.sock

@siim-romanov 's setting should work for you, I will therefore close the. Feel free to let us know, if you still encounter problems.

@siim-romanov 's setting should work for you, I will therefore close the. Feel free to let us know, if you still encounter problems.

I actually symlinked my home-directory-colima-docker.sock to /var/run/docker.sock
/var/run/docker.sock disappeared and never came back after I uninstalled Docker Desktop.

Thanks @siim-romanov . Setting env variable TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE did the trick for me.


Implement volume detach

Codecov Report

Merging #33 (499a497) into master (c51485c) will decrease coverage by 9.27%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
- Coverage   91.57%   82.29%   -9.28%
==========================================
  Files          10       15       +5
  Lines         439      785     +346
==========================================
+ Hits          402      646     +244
- Misses         37      139     +102

Flag
Coverage Δ

unittests
82.29% <66.66%> (-9.28%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cloudscale_cli/commands/volume.py
94.33% <62.50%> (-5.67%)
:arrow_down:

cloudscale_cli/version.py
100.00% <100.00%> (ø)

cloudscale_cli/spinner.py
76.92% <0.00%> (ø)

cloudscale_cli/util.py
94.91% <0.00%> (ø)

cloudscale_cli/cli.py
100.00% <0.00%> (ø)

cloudscale_cli/commands/__init__.py
59.91% <0.00%> (ø)

Continue to review full report at Codecov.

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


[Bug]: I upgraded to the latest version of TastyIgniter and got an SQL Error about Duplicate FOREIGN KEY during the extension update.

What happened?
I've updated to the latest tasty igniter just now and all seems fine but then when I went to update all of the extensions I get this error message:
see log output for details, below.

What did you expect to happen?
Update of extensions completes successfully?
Version
Other (please detail)
What browser are you seeing the problem on?
Microsoft Edge
Relevant log output
Software Version: 3.2.0
Browser: Edge (chromium) - though that's irrelevant
PHP support: (PHP version 7.4.25, run PHP as FPM application served by Nginx)
CGI support: enabled
FastCGI support: enabled
PHP extensions: all relevant to the application extensions are tested and present on the server
MySQL server: MariaDB

MySQL Error Output:
SQLSTATE[HY000]: General error: 1826 Duplicate FOREIGN KEY constraint name 'restaurant_f93jg/nope123_igniter_automation_rule_actions_automation_rule_id_foreign' (SQL: alter table `nope123_igniter_automation_rule_actions` add constraint `nope123_igniter_automation_rule_actions_automation_rule_id_foreign` foreign key (`automation_rule_id`) references `nope123_igniter_automation_rules` (`id`) on delete cascade on update cascade)

Fixed in the latest version of Automation extension


plugin dependency handling

Currently disabling newsletter-sms-smsapi with enabled smsapi-addons creates unrecoverable error due to
require_once SMSAPI_PLUGIN_PATH . 'gateway.php';
require_once SMSAPI_PLUGIN_PATH . 'routing.php';

To fix that add dependency handling, so when enabling this plugin newsletter-sms-smsapi is also enabled, and when disabling newsletter-sms-smsapi this plugin also gets disabled. If there's no newsletter-sms-smsapi plugin installed don't allow enabling this one.

fixed by commit c64cd5b4b910c6c9c36ee08ff225da385c4dfbfa


[Event Request] Codeunit 1605 PEPPOL Management

it would be helpful to have for each mapping procedure own events.
Multiple procedures are missing an event. I will only write my needed events, maybe it would be possible to add to all procedures events.
procedure GetAccountingSupplierPartyContact
event:
OnAfterGetAccountingSupplierPartyContact(SalesHeader: Record "Sales Header"; var ContactID: Text; var ContactName: Text; var Telephone: Text; var Telefax: Text; var ElectronicMail: Text)
procedure GetGLNDeliveryInfo
event:
OnAfterGetGLNDeliveryInfo(SalesHeader: Record "Sales Header"; var ActualDeliveryDate: Text; var DeliveryID: Text; var DeliveryIDSchemeID: Text)
procedure FindNextInvoiceRec
event:
OnAfterFindNextInvoiceRec(var SalesInvoiceHeader: Record "Sales Invoice Header"; var ServiceInvoiceHeader: Record "Service Invoice Header"; var SalesHeader: Record "Sales Header"; ProcessedDocType: Option Sale,Service; var Found: Boolean)
procedure FindNextCreditMemoRec
event:
OnAfterFindNextCreditMemoRec(var SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var ServiceCrMemoHeader: Record "Service Cr.Memo Header"; var SalesHeader: Record "Sales Header"; ProcessedDocType: Option Sale,Service; var Found: Boolean)
procedure FindNextCreditMemoLineRec
event:
OnAfterFindNextCreditMemoLineRec(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; var ServiceCrMemoLine: Record "Service Cr.Memo Line"; var SalesLine: Record "Sales Line"; ProcessedDocType: Option Sale,Service; var Found: Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53539.


Run aufs debugEBusy() out-of-band with a timeount

On system where lsof gets stuck, it will prevent that call from
blocking the whole daemon.
Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
Addresses: #30782

@anusha-ragunathan Have we got any useful reports with aufs debug data since this was added? Maybe we should just remove it?
Change LGTM but even with the extra goroutine this blocks for 500ms and keeps anything else from mounting. We should only take ID based locks for the long running processes.

@tonistiigi : No reports with the added debugEbusy so far.

Should I just update the PR to remove it altogether then?

If not being used, seems reasonable to just PR remove it and skip the added complexity of the goroutine.

@mlaventure : SGTM

Updated PR to remove debugEBusy()

Not sure it's related; failure on experimental;
23:48:02 FAIL: docker_cli_plugins_test.go:302: DockerTrustSuite.TestPluginTrustedInstall
23:48:02
23:48:02 docker_cli_plugins_test.go:320:
23:48:02     c.Assert(err, checker.IsNil)
23:48:02 ... value *errors.errorString = &errors.errorString{s:"\nCommand: /go/src/github.com/docker/docker/bundles/17.04.0-dev/binary-client/docker plugin enable <IP_ADDRESS>:5000/dockercli/trusted-plugin-install:latest\nExitCode: 1, Error: exit status 1\nStdout: \nStderr: Error response from daemon: error setting up propagated mount dir: invalid argument\n\n\nFailures:\nExitCode was 1 expected 0\nExpected no error\n"} ("\nCommand: /go/src/github.com/docker/docker/bundles/17.04.0-dev/binary-client/docker plugin enable <IP_ADDRESS>:5000/dockercli/trusted-plugin-install:latest\nExitCode: 1, Error: exit status 1\nStdout: \nStderr: Error response from daemon: error setting up propagated mount dir: invalid argument\n\n\nFailures:\nExitCode was 1 expected 0\nExpected no error\n")

Failure is unrelated. That test seems to be flaky on janky/experimental. https://github.com/docker/docker/issues/31724

LGTM

Thanks for your guys to fix this.
Actually we are facing the issue some while. In addition, I think this change could ease the pain, and this change could also be applied to old versions of docker engine.
Therefore, I suggest that we could back port this change into docker-ee 17.03. Then that action definitely brings much benefits for users.

@allencloud this was already being considered for back porting 👍


Servicebus logs exception also when only retrying

Package Name: servicebus
Package Version: 7.3.3
Operating System: linux
Python Version: 3.9

Describe the bug
Not really a bug but I have noticed the following: we got an exception like
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/azure/servicebus/aio/_base_handler_async.py", line 246, in _do_retryable_operation
    return await operation(**kwargs)
  File "/usr/local/lib/python3.9/site-packages/azure/servicebus/aio/_servicebus_receiver_async.py", line 318, in _open
    while not await self._handler.client_ready_async():
  File "/usr/local/lib/python3.9/site-packages/uamqp/async_ops/client_async.py", line 356, in client_ready_async
    if not await self.auth_complete_async():
  File "/usr/local/lib/python3.9/site-packages/uamqp/async_ops/client_async.py", line 342, in auth_complete_async
    raise TimeoutException("Authorization timeout.")
TimeoutError: Authorization timeout.

digging into the code, in my understanding this exception is logged here
https://github.com/Azure/azure-sdk-for-python/blob/f68dd959a659579d299177195ea846b01aa16dc2/sdk/servicebus/azure-servicebus/azure/servicebus/exceptions.py#L174
The client was able to retry and all went well after that. However, logging an exception has trigger log-based alerts on our code and because there is no mention on any retry, it was unclear what was going on.
Expected behavior
I would expect just a warning in the log.

Thanks @andrea-cassioli-maersk for reporting this!
We will dig a bit deeper and see if we can revisit the error retry logging level :)

Has there been any movement on this ticket? I am running into the same issue on a project I am working on, where I simply want to see retry logs stemming from the send_message functionality?

Hi @andrea-cassioli-maersk - Sorry about the late response here! We have been working on and just released a pure Python AMQP stack-based azure-servicebus. We no longer take a dependency on uamqp, so you shouldn't be seeing that uamqp TimeoutError in the stack trace/your logs. Would you be able to try installing the latest version (or any version > 7.10.0), and see if this problem still persists? Thank you!
cc/ @thyllmuller


refresh 3rdparty dependencies

move to versioned go modules
bump all to latest releases
go mod tidy

lz4 will get a basic workout as part of functional_consumer_test.go, but it doesn't look like there's any kerberos testing in that suite — we should probably add something to at least do a basic sniff test

Hey. Got this error  package github.com/pierrec/lz4/v3: cannot find package "github.com/pierrec/lz4/v3" in any of when go get without go-module.
Can we not add v3 in import path?

Hey. @dnwe  Got this error when go build.
/Shopify/sarama/compress.go:10:2: cannot find package "github.com/pierrec/lz4/v3"
Does this change make it impossible to use this lib without go mod?

Yes you're right I'd forgotten that implication of migrating the deps. We should probably revert this until v2 of Sarama. I'll submit a follow up PR later today


Allow specifying exit value on quit()

Might be not useful in games per se, but will be very useful for automated testing.

Just for fun, try to kill self process OS.kill(OS. get_process_ID()) exit code should be equal to 143 or something near

@profelis thanks, that actually would work for time being :D
Didn't know there was API to kill random processes in Godot.

The OS singleton now has an exit_code property, which can be used to set the exit code the process will exit with when get_tree().quit() is called.


EdenFetch paths as argument in custom interceptor

I use edenFetch as follow:
import { edenFetch } from "@elysiajs/eden";
import { App } from "../../../server/src";
export const api = edenFetch<App>(`${import.meta.env.VITE_SERVER_URL}`);

than my api type looks like:
const api: EdenFetch.Fn<{
    "api/": {
        get: {
            body: unknown;
            params: unknown;
            query: unknown;
            headers: unknown;
            response: {
                200: string;
            };
        };
    };
    "api/insertions/": {
        get: {
            body: unknown;
            params: unknown;
            query: unknown;
            headers: unknown;
            response: {
                200: {
                    updatedDate?: string;
                    id: string;
                    description: string;
                    ... 6 more ...;
                    endingDate: string;
                }[];
            };
        };
    };
}>

I would like to reuse parts of this type >> ["api/", "api/insertions/"], and their options as a arguments for my custom interceptor:
const interceptor = (path: ??, options: ??) => {} << handle errors etc.
Do anyone have suggestion how to do it please.
If you provide how to supply valid options depend on the supplied path than I will be twice happier :)

I will answer my own question:
import { edenFetch } from "@elysiajs/eden";
import { App } from "../../../server/src";

export const api = edenFetch<App>(`${import.meta.env.VITE_SERVER_URL}`);

export const interceptor = async (path: Parameters<typeof api>[0], options: Parameters<typeof api>[1]) => {}

happy coding to all of you


Add an import option to force TextureArrays as normal maps for RGTC Compression(redo)

this is a redo of the pull request : godotengine#52058
i'm a noob on github and i deleted it.
i have added the option to chose normal map for channel pack. this will force the to use red and green channels for the texture only. the option is added meaning it will not conflict with the existing settings.
i have made this change as a response to my own proposal
Bugsquad edit: Closes godotengine/godot-proposals#3184

for now i manually i ran clang format with "https://github.com/godotengine/godot/blob/master/.clang-format" on the file.
this is ok right?... bc it changed a lot of formatting.

for now i manually i ran clang format with "https://github.com/godotengine/godot/blob/master/.clang-format" on the file.
this is ok right?... bc it changed a lot of formatting.

It should only have changed the lines you added, rather than changing everything in the file.

for now i manually i ran clang format with "https://github.com/godotengine/godot/blob/master/.clang-format" on the file.
this is ok right?... bc it changed a lot of formatting.

clang-format should only have changed the lines you added, rather than changing everything in the file.

so this has problems? i redo it again?

so this has problems? i redo it again?

Yes, you should either fix your clang-formatting setup or perform the formatting to follow the code style guidelines manually. No need to open a pull request – instead, amend your existing commit using git commit --amend and perform a force push using git push -f.

so this has problems? i redo it again?

Yes, you should either fix the clang-format setup or perform the formatting manually to follow the code style guidelines I linked.
No need to open another pull request – instead, amend your existing commit using git commit --amend and perform a force push using git push -f.

i think it should be fixed now. i'm getting a hang of it.

I'm not familiar with this import pipeline to say if this is a good change, but the commits should be squashed in prevision for a potential merge. See PR workflow for instructions.

I'm not familiar with this import pipeline to say if this is a good change, but the commits should be squashed in prevision for a potential merge. See PR workflow for instructions.

all i know is that normal mode force is needed for texture arrays too.
if there is a desired way to use it, i would like to know to make the appropriate changes. this is what i came up with.
personally the regular texture import makes no sense. because normal mode ends up affecting channel packing.
so does the roughness feature which i saw but haven't used before.
i think there should be just a basic way to set used channels. and force things. the whole import pipeline is getting too copmlicated.

Thanks!


Enter validate_create and wait_for_interface_deleted if self.worker_pods

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

!verified


Allow @WireMockTest to be applied on base classes

References

TODO

Submitter checklist

[ ] Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
[ ] Recommended: If you participate in Hacktoberfest 2023, make sure you're signed up there and in the WireMock form
[x] The PR request is well described and justified, including the body and the references
[x] The PR title represents the desired changelog entry
[x] The repository's code style is followed (see the contributing guide)
[x] Test coverage that demonstrates that the change works as expected
[x] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

Good work, @kkocel !
Thanks for your contribution!
Merged ✅


http:// → https://

Do we have URL checker / are we sure these all work?

I've checked  the links manually, this is not an automated conversion. You may notice that some URLs are actually updated, for example http://scitools.org.uk/cartopy/index.html → https://scitools.org.uk/cartopy/docs/latest/. Also some links have no been modified, when the site serves only http://.

Awesome, thanks @DimitriPapadopoulos !


build: update Go version to 1.18 and GitHub workflow matrix

coverage: 88.933%. remained the same
when pulling 83a27cacfbf533b4d3da65a9fa1ba669e5404fd8 on robinlieb:build/update-go-1.18
into 02d182ac47693b5f7263de2ba7bd46607c80aed8 on go-playground:master.


For-loop cache

I've noticed up to a ~10% speedup using cached for loops versus accessing .length on every loop. Not sure if there'll be a noticeable speedup for us, but I guess it's common practice to use that anyway.
Let's see how long the bot takes... Our previous two runs (https://github.com/mozilla/pdf.js/pull/744#issuecomment-2605804 and https://github.com/mozilla/pdf.js/pull/743#issuecomment-2593467) took about 29.5 min.
UPDATE: The speedup mentioned above was using a simple script, not our code. See https://gist.github.com/1334153

@pdfjsbot test

Bot got stuck on tcpdf_033.pdf... doesn't freeze on my Mac though. Gotta investigate further.

@pdfjsbot test

Ha. 29.5 min... couldn't be more anti-climatic.

@pdfjsbot test


FoldWithStream stream adapter

So in the series “here is a stream adapter I wanted and thus wrote so do you want it?”, now comes the FoldWithStream stream adapter, that:

Consumes the stream
Passes its first element as well as the remainder to a folding function
Recovers the stream to be continued from the folding function
Iterates

So I'm thinking for this one there might be better ways to do it. However, the best I managed with “standard” stream adapters is the stuff I deleted in https://github.com/Ekleog/yuubind/commit/b6e0aff488b380a3df16ec1b664ec6432a5e7030 … because it stack overflow'd.
So here is what I have written, if you think it'd be useful that I PR it I can do so. :)
enum NextStep<S: Stream, F: Future, Acc> {
    Stream(S, Acc),
    Future(F),
    Completed,
}

pub struct FoldWithStream<S, Acc, Fun, Ret>
where
    S: Stream,
    Fun: FnMut(Acc, S::Item, S) -> Ret,
    Ret: Future<Item = (S, Acc), Error = S::Error>,
{
    next: NextStep<S, Ret, Acc>,
    f: Fun,
}

impl<S, Acc, Fun, Ret> Future for FoldWithStream<S, Acc, Fun, Ret>
where
    S: Stream,
    Fun: FnMut(Acc, S::Item, S) -> Ret,
    Ret: Future<Item = (S, Acc), Error = S::Error>,
{
    type Item = Acc;
    type Error = S::Error;

    fn poll(&mut self) -> Result<Async<Self::Item>, Self::Error> {
        loop {
            match mem::replace(&mut self.next, NextStep::Completed) {
                NextStep::Stream(mut s, acc) => {
                    match s.poll() {
                        Ok(Async::Ready(Some(i))) => {
                            self.next = NextStep::Future((self.f)(acc, i, s));
                        }
                        Ok(Async::Ready(None)) => return Ok(Async::Ready(acc)),
                        Ok(Async::NotReady) => {
                            self.next = NextStep::Stream(s, acc);
                            return Ok(Async::NotReady);
                        }
                        Err(e) => return Err(e),
                    }
                }
                    match f.poll() {
                        Ok(Async::Ready((s, acc))) => {
                            self.next = NextStep::Stream(s, acc);
                        }
                        Ok(Async::NotReady) => {
                            self.next = NextStep::Future(f);
                            return Ok(Async::NotReady);
                        }
                        Err(e) => return Err(e),
                    }
                }
                NextStep::Completed => panic!("attempted to poll FoldWithStream after completion"),
            }
        }
    }
}

pub trait StreamExt: Stream {
    fn fold_with_stream<Fun, Acc, Ret>(self, init: Acc, f: Fun)
        -> FoldWithStream<Self, Acc, Fun, Ret>
    where
        Self: Sized,
        Fun: FnMut(Acc, Self::Item, Self) -> Ret,
        Ret: Future<Item = (Self, Acc), Error = Self::Error>,
    {
        FoldWithStream {
            next: NextStep::Stream(self, init),
            f
        }
    }
}

I, too, have run into a case where I needed this exact combinator. I think it was when trying to thread a BiLock through a stream.
My gut feeling is that, if a stream becomes complex enough to require this behavior, it might be time to implement Stream with a bespoke struct. I also think that the core stream/future combinators should be limited to those that have widely applicable use. I think there's room for an external crate to experiment with things like this -- streamtools/futuretools, dual to itertools.


I have an offer

@akshhack this is just a try

@akshhack @shivambhatia5432 PTAL

CSS Animation

Note: When an animation is finished, it goes back to its original style.

CSS Animation

Note: When an animation is finished, it goes back to its original style.

CSS Animation

Note: When an animation is finished, it goes back to its original style.

``

`

CSS Animation

Note: When an animation is finished, it goes back to its original style.

`

Get Hired Here

Congratulations Ack 🕺🏼, Karen from Google just offered you a job 🤑!!

Here is your message from Karen:
Hi Ack, I just saw your repo on github and thought of reaching out to you to ask if you would be interested to apply for SDE-2 position at our Google ML-AI Team.


Create JDK-21 image

there is a ubi8 image for JDK-21 available now.

Closing since JDK-21 has been added.


Link to Settings to open a form does not work

Description
On the Responses page, the link to open a closed form does not redirect to settings. It also is not accurately portraying whether the form is open or closed.
Steps to reproduce

Go to Form "Lost of responses"
Click on "Open the form in Settings", notice nothing happens
Then go to "Settings" > "Form management" to see the form status

Details

Browser: Chrome
Operating system: Mac Sonoma
Environment: PR App Router
Language: EN + FR
Viewport: Desktop
Form ID: clrz94gmi0001yw08zkxzynx0

Expected behaviour
Navigate to Form status in Settings as expected
Screenshots or videos
https://github.com/cds-snc/platform-forms-client/assets/38330843/426b3d02-3105-486a-8128-1b0c2cc6dc9c

Resolved in #3217


Can I supress temporary TLS Errors?

There are three things I hoped to use this module for, and it passed the first two with flying colors, so thank you!

Wait for DNS records to propigate
Wait for TLS to be auto-configured on the instance (happens outside terraform, with Caddy and ACME)
Wait for my service to be up after starting a new EC2 instance before continuing to provision the service by the API

#1 and #3 work quite well, but I'm getting this error in my logs. It did do the right things, but I'd prefer to supress this as expected noise.
╷
│ Warning: Error connecting to healthcheck endpoint
│
│   with module.bowtie-with-aws.checkmate_http_health.baseline_up,
│   on ../terraform-bowtie-with-aws/main.tf line 71, in resource "checkmate_http_health" "baseline_up":
│   71: resource "checkmate_http_health" "baseline_up" {
│
│ Get "https://$my_path_here/api/v0/ok": remote error: tls: internal error
╵

That's right, though if there's still a TLS error at the end of the timeout then I would want to show it as the reason then.
My golang chops are quite minimal but I'd be willing to pitch in and be helpful

Probably the lines where it does diag.AddWarning in the loop should not exist and should just be log messages instead. But the last one probably should still exist. What do you think? Go ahead and make a PR if you want, otherwise I'll get to it eventually

Hey @issackelly, v1.6.0 hopefully does what you want, please let me know if not!


CAMEL-16542 Camel-Solr: Refactoring the component a bit

Just some comments, but looks really promising. Thanks for this work! @orpiske can you have a look at the test-infra part please? Thanks a lot @Paul-Blanchaert !

Sure thing! I take a look tomorrow. Thanks for the contribution @Paul-Blanchaert

@Paul-Blanchaert feel free to update the PR when you have time and fix the findings (not so much), thank you!

There is a compilation failure, just delete the src/generated folder, it will be regenerated if you rebuild and the build should be fine.

Is this PR ready or does it need more work?

I was planning to put some more work in (esp. tests) somewhere next week or
week after. Is there a rush or deadline we should consider?
On Sun, 6 Jun 2021 at 07:22, Claus Ibsen @.***> wrote:

Is this PR ready or does it need more work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/camel/pull/5613#issuecomment-855340266, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7M2CU2PO5OXYBYZBDXCILTRMAYBANCNFSM454M37BA
.

This can be merged. We can add more tests with other PRs

Fine with me...
I promise to Andrea that I'll deal with his last open comment on this PR in
the next one ;-)
On Sun, 6 Jun 2021 at 14:45, Andrea Cosentino @.***>
wrote:

This can be merged. We can add more tests with other PRs
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/camel/pull/5613#issuecomment-855393568, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7M2CQ6VIVJLX5PAXZATADTRNUU7ANCNFSM454M37BA
.


5/27 Publish for refreshed azps-8.0.0

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

File
Status
Preview URL
Details

mapping/az-groupMapping-8.0.0.json
:white_check_mark:Succeeded

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


[libvpx] Support arm and uwp

Support arm / arm64 / uwp build.
Fixes #11951.

@BillyONeal The failure logs told that:
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 6/16/2020 7:29:12 AM.
     1>Project "D:\buildtrees\libvpx\arm-uwp\vpx.vcxproj" on node 1 (Rebuild target(s)).
     1>CoreClean:
         Creating directory "ARM\Release\vpx\".
     1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(390,5): error MSB8020: The build tools for v142 (Platform Toolset = 'v142') cannot be found. To build using the v142 build tools, please install v142 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [D:\buildtrees\libvpx\arm-uwp\vpx.vcxproj]
     1>Done Building Project "D:\buildtrees\libvpx\arm-uwp\vpx.vcxproj" (Rebuild target(s)) -- FAILED.

Build FAILED.

       "D:\buildtrees\libvpx\arm-uwp\vpx.vcxproj" (Rebuild target) (1) ->
       (PrepareForBuild target) ->
         C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(390,5): error MSB8020: The build tools for v142 (Platform Toolset = 'v142') cannot be found. To build using the v142 build tools, please install v142 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [D:\buildtrees\libvpx\arm-uwp\vpx.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.76

I can't get it. Could you please take a look?
Thanks.

I'm not a complete expert on this integration but I'm guessing it is trying to use the the 2017 compiler so we might need to retarget it to v160? (Based on C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets in your report)

Given that arm-uwp has never worked all the way back to https://github.com/microsoft/vcpkg/pull/9203/ I think just leaving that in the baseline is okay


README: add another bug Miri found

@bors r+

:pushpin: Commit 6670f43917db0df610401f50dc62c5d262c496b0 has been approved by RalfJung

:hourglass: Testing commit 6670f43917db0df610401f50dc62c5d262c496b0 with merge af451e2b6568596f63fe81e2667d323091b0c613...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing af451e2b6568596f63fe81e2667d323091b0c613 to master...


Csp/fvgq joint

Adds all the FVGQ 1 & 2 joint models, some minor styling fixes as well.

Woops, meant for this to be in janrosa1/HMCExamples.jl. I AM A PROFESSIONAL


Missing Jackson annotation

Hello!
I believe there is a missing @JsonAnySetter annotation in GenericDataCatalogEntry.Builder, it should be as follows:
    @JsonPOJOBuilder(withPrefix = "")
    public static class Builder {
        private final GenericDataCatalogEntry lookup;

        private Builder() {
            lookup = new GenericDataCatalogEntry();
        }

        @JsonCreator
        public static Builder newInstance() {
            return new Builder();
        }

        @JsonAnySetter    // Otherwise, deserialization won't work
        public Builder property(String key, String value) {
            lookup.properties.put(key, value);
            return this;
        }

        public GenericDataCatalogEntry build() {
            return lookup;
        }
    }

PR: https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/pull/94

Thanks Mikhail! Closing this out.


Create Matlab section

Add a Matlab section to the Software Development tab

@kylecribbs24
Is this file an outline for a webpage you want to make?  You can make a new markdown page in the website/_selfpaced folder.
Currently this file is just sitting in the top-level directory, but it doesn't belong there.


Implement unit/function tests for post-policy.go

Current cover profile is 0%

Is this fixed @vadmeste ?

@harshavardhana, yes, coverage 81% for this file


Call For Contributors

It looks like we might be in a bit of a bind with issues piling up and only one active contributor @flemay (who is quite busy).
Would anyone be interested in helping wrestle some of the open issues in this integration? Feel free to e-mail me or reply in this thread.

Before I saw this just now I was considering offering to be one and still am. I have several suggestions I need to compile together regarding improvements but I definitely want to get some issues out of the way, that are preventing me from developing my clients' websites and it will take me some time to learn the package but I'm totally down.

@fvpDev I could help you get on board with the package :)

Kewlio...yeah not sure with which version #80 started happening but I've only noticed that issue since upgrading to Meteor 1.4+

I didn't test the package with Meteor 1.4+ so maybe there is work to do around the new APIs if any. I can show you one day how to deploy a new version of the package.

Kk, feel free to email me whenever

Also, for #80 it randomly worked once or twice for me, without me changing anything really..

Actually, @flemay, the sooner you email me the better. I really need to help get this working ASAP, and each day I spend waiting is time wasted and money not earned for me. Thnx for understanding

I do understand but I am quite busy during the week. You can have a look at https://github.com/flemay/Semantic-UI-Meteorize. This is what I use to create the packages.

https://github.com/flemay/Semantic-UI-Meteorize/issues/2

@jlukic Hi Jake, would you mind to add @fvpDev to Atmosphere and semantic-ui-meteor and semantic-ui-data-meteor repos please? :)

Just wanted to say again, @flemay, thanks for having that video conference with me; it was quite helpful!

@fvpDev no worries! I have a problem pushing the version 2.2.4...it fails badly :(

@flemay Are you still actively contributing to this project? I might be interested in helping out getting it to the latest version but I might require some assistance to get started.

Thank you @klausklapper for following up here. @flemay @jlukic any guidance you could provide to the community would be greatly appreciated. We'd looooove to see a new version up on Atmosphere soon so we can take advantage of the new features and important defect fixes made to the core framework!

@klausklapper @myktra I am not actively contributing to this project but I am happy to give you some guidance so other people can contribute to it. :) The 2 packages are generated by https://github.com/flemay/Semantic-UI-Meteorize. My concern here is that maybe Meteor has changed a lot and would require some changes to the generator.

Hey guys. Looking to get some discussion going again on updating this package, or potentially also looking at other approaches to adding semantic-ui to Meteor. cc @levithomason.

The 2 packages are generated by https://github.com/flemay/Semantic-UI-Meteorize. My concern here is that maybe Meteor has changed a lot and would require some changes to the generator.

Yep, I also think the design is overkill here.  In order to get Semantic UI ported to Meteor, it requires Docker, a custom build tool, and publishing two separate packages. Props to @flemay for getting this running initially, but I think it is too heavy to maintain.
We're using Semantic-UI-Meteor at work right now and we need to update.  I've taken a look around this repo, but again, I feel we're too constrained to really maintain with ease.
I've got a branch open that currently removes the Meteor package and just installs semantic-ui-less.  There is a single bash script that converts it to a Meteor friendly format.  Are there any other real benefits to justify the tooling and maintenance involved with the current atmosphere package?  Or, should we simplify this a bit?

Also worthy to note; this package was developed before Meteor had proper support for npm packages.

I agree, the current approach for the support is somewhat overkill. We have settled for a customized solution that sounds somewhat similar to what @levithomason has written up. Maybe it might be worth to consider replacing this design with something new.

If the approach could allow us to use LESS to override some of the core CSS values (like colors and typography) I think that's mostly good enough.
Perhaps secondarily since my application would be serving the customized UI bits directly (though could push to a CDN of course), I'd love to not have to deploy code and styles for widgets I'm not using, which I believe was functionality supported by this package.

Hey @levithomason are you able to share your bash script?

@levithomason I totally agree that it is heavy to maintain and really hope Meteor has changed enough to simplify everything. I know that years ago, a package would not be able to access a local files therefore that is why there are 2 packages so 1 package can read the semantic files from another package. There is the whole process or renaming semantic files and updating them to please meteor.
The last but not least, the use of docker is not required. I simply love docker and was easing the process of generating the packages without having to install meteor/nodejs on my laptop. Also, it should work fine on a CI server that has only docker.
Thank you all for trying to find a better (and also up to date) approach. :)

I was talking to @jlukic and he has also opted for an ugly bash script in his more recent use of SUI in Meteor.
I haven't checked on this script in a while, so no promises that it won't blow up your machine 😅
It needs parameterized a bit, BASE_SOURCE_DIR and BASE_TARGET_DIR are hard coded.   Also needs some testing in the right context.  However, I believe this is a good start.
#!/usr/bin/env sh
set -e

##############################################################################
# Update Semantic UI
#
# Using semantic-ui-less in node_modules, this script will:
#   - copy assets to our project
#   - copy definitions/themes to our project
#   - make meteor happy:
#     - rename all files *.less (SUI uses *.variables, *.overrides, *.config)
#     - replace all references to those ^ files

BASE_SOURCE_DIR="node_modules/semantic-ui-less"
BASE_TARGET_DIR="client/imports/styles/semantic-ui-less"

# Updates references to SUI *.variables, *.overrides, *.config files
# to Meteor friendly *.less extensions
parse_less_file() {
  local file="$1"

  cat "$file" | \
  sed -e "s/\.variables/\.variables\.less/g" | \
  sed -e "s/\.overrides/\.overrides\.less/g" | \
  sed -e "s/\.config/\.config\.less/g"
}

# Copies all *.variables, *.overrides, *.config files from the node_module
# to our project directory, renaming and parsing as it goes
update_less_files_in_dir() {
  local dir="$1"
  echo "... updating $dir less files"
  target_dir="$BASE_TARGET_DIR/$dir"
  source_dir="$BASE_SOURCE_DIR/$dir"

  # clear our copy of this dir
  rm -rf "$target_dir"

  # copy all style files over, updating names and references for meteor
  for file in $(find "$source_dir" -name "*.less" -o -name "*.overrides" -o -name "*.variables"); do
    # move the file from the source to the destination
    target_filename=$(echo "$file" | sed -e "s=$source_dir=$target_dir=")
    # append *.less if not present
    target_filename=${target_filename%.less}.less
    target_dirname=$(dirname "$target_filename")

    # ensure target dirs exists
    mkdir -p "$target_dirname"

    # output to new filename with .less appended
    parse_less_file "$file" > "$target_filename"
  done
}

# update directories
update_less_files_in_dir "definitions"
update_less_files_in_dir "themes/default"

# update assets
echo "... updating public assets"
fonts_dir="public/fonts/semantic-ui"
images_dir="public/images/semantic-ui"

rm -rf "$fonts_dir"
mkdir -p "$fonts_dir"
cp -R "$BASE_SOURCE_DIR"/themes/default/assets/fonts/* "$fonts_dir"

rm -rf "$images_dir"
mkdir -p "$images_dir"
cp -R "$BASE_SOURCE_DIR"/themes/default/assets/images/* "$images_dir"

# update root files
echo "... updating root files"
parse_less_file "$BASE_SOURCE_DIR/theme.less" > "$BASE_TARGET_DIR/theme.less"

echo "... Done!"

Thanks @levithomason! It really illustrates how specific of a configuration Meteor requires.

Is there still an easy way for newbies to use the current version of Semantic-UI with meteor?
Meanwhile, I tried all types of integration except the script above (for which I just lack the necessary skill) and all of them either fail completely or stuck at v2.2.6...
Maybe I can somehow assist to implement a new integration method for the upcoming meteor 1.6?

@aikonplus unfortunately, no.  I should also note that this script is only concerned with the LESS and assets.  JS is not included, but wouldn't be much to add.
Currently, the easiest path IMHO would be to build your theme outside of Meteor and then import the compiled CSS.  😕
We're beginning work over at https://github.com/openmastery/semantic-ui-theme that will make building and integrating Semantic UI themes into any framework much easier.  However, this is a long run and not likely to be done soon.

Any updates on this?

Seems as though this project is at a standstill. Support for updating the package to the latest version of Semantic UI for Meteor seems non-existent.


Add package triplets

This is a binding for C database library:
https://github.com/linksplatfrom/Data.Triplets


Minor kubelet updates

Not sure if these flags were deprecated at some point, but current docs+code show that these flags should have hyphens in them, not underscores.
https://kubernetes.io/docs/admin/kubelet/
https://github.com/kubernetes/kubernetes/blob/master/cmd/kubelet/app/options/options.go#L219
https://github.com/kubernetes/kubernetes/blob/master/cmd/kubelet/app/options/options.go#L222

ci check this


CSS Breaking changes with React18

There are behavioral difference for CSS in strict mode and without it after upgrading the project to React18. The official document doesn't mention about  any possible impact on CSS. Please provide any known changes on CSS with React18.
E.g. class*="MuiButtonBase-root-MuiButton-root" works in strict mode  but has to change it to
class*="MuiButtonBase-root MuiButton-root"  for it to work without strict mode

I'm not familiar with the issue, can you provide a repro?


[Bug]: The Daily best deals Needs better Orientation in Page

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I wish to make this section take up sufficient place within the viewport to make it look better for responsive screens
Please assign this issue to me @MAVRICK-1
Expected behavior
The daily best deal should take up the space given and use it efficiently
Add ScreenShots

On which device are you experiencing this bug?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Sypher0Dronzer ok


Reducing the amount of detail in an image

Made a title screen in Affinity Designer (160px x 144px, PPI 83) using GB Studio color palette and exported as PNG, but I get the following warning:

Background 'titlescreen.png' contains too many unique 8x8px tiles (204 where limit is 192) meaning it may not display correctly. Consider reducing the amount of detail in this image.

How do reduce the amount of detail? I exported to PNG-8 (dithered) at 3.71 kB from PNG at 15.08kB to reduce the file size, but that didn't work. The title screen shows up, but it garbles the New Game/Continue selector. It still works, but looks bad (see pic). Logo.png loads correctly.

Keep the 8x8 tile grid in mind, moving your logo just a few pixels up or down, so there are more blank tiles, could put you under the limit again.
In this case, you have to shave off about 12 tiles. so Tiled map editor could load your background as a tile set, be pasted into a map, so that you can cherry pick similar tiles to replace. This would be good to learn for making your game anyway.
Alternatively if your software supports a grid, painting out a few pixels from tiles that are almost empty might work, or changing how far the drop shadow is.

Gotcha. So there are too many pixels spread across too many tiles? I’ll try shrinking the logo or reducing the drop shadows and see if that works. I was using a 10x9 grid (16x16px per square), but I could change it to 20x18 (8x8px per square). If I multiply that then there are 360 squares to work with, but only 192 can be completely covered in pixels. Is that how it works?
I’m really enjoying GB Studio. I’ve already designed a couple of animated actors as well. It’s an amazing piece of software. I’m going to go back on itch.co and donate, now that I’ve worked with it for several days and I can see all of the possibilities.
Making a video game has always been a dream of mine, but I’m more of a designer, not a programmer. Now I can make that dream a reality! I’m also a Digital Arts instructor and I’m going to recommend your software to my students as well as the video game club. I’d love to teach a game design course someday.
I’m also looking forward to the Analogue Pocket. I missed the first pre-order, but I hope to get one I can work with this summer. With your software and that hardware we could be looking at a retro handheld revival.
Thanks for your help. Keep up the good work!

On Feb 16, 2021, at 5:19 PM, Richard Ziegler<EMAIL_ADDRESS>wrote:

Keep the 8x8 tile grid in mind, moving your logo just a few pixels up or down, so there are more blank tiles, could put you under the limit again.
In this case, you have to shave off about 12 tiles. so Tiled map editor could load your background as a tile set, be pasted into a map, so that you can cherry pick similar tiles to replace. This would be good to learn for making your game anyway.
Alternatively if your software supports a grid, painting out a few pixels from tiles that are almost empty might work, or changing how far the drop shadow is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Only 192 tiles can be unique, but that doesn't mean just blank.
If you had repeated detail, 8x8 grid aligned, they would be reused too. Eg, the shadow under n and z is awfully similar, if they were identical, then the 6 tiles would only use 3.
Maps and things often use tilesets to speed up workflow, and help stick to the limit, but gbstudio allows any png and cuts it up for you, so you can use any tool you want to make the map, as long as you keep the limits in mind.
Designers that can push right against the limits thrive in gbstudio, as hardware hasn't changed in 20 years, but design has.
Keep tabs on the Discord if you need feedback/more general help. And close this issue if it's solved.

I just shrank the logo somewhat and it worked! Thanks again. I'll hit up the Discord if I need any more help.


IMB-191 Add email address to Medical Records content

What?
Add email address to Medical Records content - IMB-191
Why?
Email address is not showing under the Medical Records content
How?
Email address {{queriesEmail}} has been added to the medical-records in pages.json so that queriesEmail will be populated dynamically from env variables
Testing?
Testing done locally

Dynamic population of email done


[Event Request] Codeunit::"Output Jnl.-Expl. Route" - Function OnRun - OnRunOnAfterFilterProdOrderRtngLine

We like to request the following Event:
Object: Codeunit::"Output Jnl.-Expl. Route"
Function: OnRun
Publisher Event: OnRunOnAfterFilterProdOrderRtngLine
Reason: To implement custom business logic
Where is the event placed:
repeat
ProdOrderRtngLine.SetRange("Routing No.", ProdOrderLine."Routing No.");
ProdOrderRtngLine.SetRange("Routing Reference No.", ProdOrderLine."Routing Reference No.");
OnRunOnAfterFilterProdOrderRtngLine(ProdOrderRtngLine);
if ProdOrderRtngLine.Find('-') then begin
repeat
Event Code:
[IntegrationEvent(false, false)]
local procedure OnRunOnAfterFilterProdOrderRtngLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fix: Language switcher toggling control

Description of PR
Language switcher toggling was not working properly (on clicking selected language inside navbar)
Relevant Issues
Fixes #...
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on phone
[x] Tested on desktop

Screenshots
Add relevant screenshots here
After fix : Link

Please read the Contributing Guidelines before creating a PR


Fix setting editor list item overflow

Fix #206333

I'd like to confirm that when there is an overflow, does a screenreader such as NVDA still read the full text?

As I tested on Linux with Orca screen reader, it did read out the full text.


Clean up the jenkins CI tests

Today we run e2e tests on both GH and Jenkins. The Jenkins tests are superset of the GH ones and are less stable. Here is the tests configs that run on Jenkins but not GH:

C* 3.0, DSE 5.1/6.0/6.7
Latest Pulsar image, and Latest LS 2.10 image

Ideally we should have a single CI environment (GH) but if not possible, we should at-least avoid double testings the C*/Pulsar combos already covered by GH CI

https://github.com/datastax/pulsar-sink/pull/36
just leaving this open incase we want to drop the jenkins test altogether at this point.

Remove JenkinsFile: https://github.com/datastax/pulsar-sink/commit/16d3a24b363b4f636606a3ededeaa38c339c3fac


Thread local variable (thread_ec_ptr) prevents library to be unloaded

I have this scenario where I build an audio plugin on macOS as a dynamic library (.dylib). The host loads the plugin via dlopen and unloads it via dlclose.
My plugin uses loguru for logging.
After spending quite a bit of time figuring out an issue with the plugin I was able to track it down to this line https://github.com/emilk/loguru/blob/master/loguru.cpp#L1559
static LOGURU_THREAD_LOCAL ECPtr thread_ec_ptr = nullptr;

Simply compiling the plugin with loguru (even if not using it) causes the following issue: dlclose no longer unloads the plugin. Which means it is no longer possible to change the plugin on the fly and the entire host has to be brought down and back up again to get the new changes.
I believe the fact that the variable is tread local is what is causing the problem as proven by the fact that removing LOGURU_THREAD_LOCAL fixes the unloading/reloading issue.
Since I do not know or understand the internal workings of loguru, I was wondering if there are cases where this variable is not used and I can simply get rid of it. For example I know for a fact that my plugin will never ever run in a multi threaded environment so a thread local variable is most likely not useful.
Otherwise do you know of a fix (maybe a compiler flag?) that would fix this problem?

If you want to reproduce the problem on your side, I wrote a little program that simulates a host:
#include <iostream>
#include <dlfcn.h>

int main()
{
  void* lib_handle = dlopen("/mnt/vault/deployment/build/re-test-plugin/Debug/TestPlugin.dylib", RTLD_LOCAL);

  if (!lib_handle) {
    std::cerr << "[" << __FILE__ << "] main: Unable to open library: "

         << dlerror() << "\n";

    exit(EXIT_FAILURE);
  }

  std::cout << "Before dlclose" << std::endl;

  if (dlclose(lib_handle) != 0) {

    std::cerr << "[" << __FILE__ << "] main: Unable to close library: "

              << dlerror() << "\n";
  }

  std::cout << "After dlclose" << std::endl;

  return 0;
}

and the main code/plugin can be anything you want, it just has to be compiled as a dynamic library and include loguru.cpp. If you add something like this to the main code
__attribute__((destructor))
static void finalizer3() {
  std::cout << "############### finalizer3 called on unloading..." << std::endl;
}

this will print a message when the dynamic library is unloaded.
// with thread local (wrong)
Before dlclose
After dlclose
############### finalizer3 called on unloading...

// without thread local (right)
Before dlclose
############### finalizer3 called on unloading...
After dlclose


Build error with folly and fmt

I cloned and ran the build script on Ubuntu 18 and 20 but encountered the same error on both.

I also tried it in a docker container with the following Dockerfile to get the same error
FROM ubuntu:18.04
RUN apt-get update && apt install git sudo -y
RUN git clone https://github.com/facebook/CacheLib
WORKDIR CacheLib
CMD ["./contrib/build.sh", "-j"]

For fmt, the build error is being caused by, this commit: https://github.com/fmtlib/fmt/commit/3a951a66cb0fb53ff5a9d5ce9c77e05ef9d382ce
I think there needs to be either changes made in Cachelib to fix this, or somehow make it point to one of the previous version of fmt.

To Meta team: could you please share what is the rationale behind fetching the latest dependencies on every build? Did you consider setting some specific version of each dependency in build-package.sh (e.g. to the latest release) and just updating them when necessary?

Hello @igchor ,
We can divide the dependencies into two groups: everything before folly (i.e. packages which do not depend on folly: zstd, googlelog, googletest, googleflags, fmt, sparsemap), then folly and all packages that do depend on it (folly, fizz, wangle, fbthrift) .
folly itself does not have a "release" or "stable" version. It is always being updated.
folly is added as git submodule to cachelib (like in many other projects which use folly). The difference is: other projects can decide to pin the folly git-submodule to a specific commit, and leave it as-is for a long time (effectively making it "stable").
But cachelib is a Facebook/Meta project, and the internal code base always tracks the latest folly build (observe all the commits at https://github.com/facebook/CacheLib/commits/main which just say "updating submodules" - those are automatic).
And so, when you update cachelib (with git pull) you also update the folly submodule commit version. Then you need to rebuild folly. and then you need to rebuild the downstream packages (fizz/wangle/fbthrift) which depend on folly.
For the other packages, you'll notice we do use a specific git tag or branch ( e.g https://github.com/facebook/CacheLib/blob/main/contrib/build-package.sh#L120 ). So those, even though we do a "git pull", it should remain in the same commit, and a make should be very fast.
I notice fmt is an exception - not pinned to a specific git tag or revision - likely an omission that can be fixed.
Hope this answered your question.
regards,
-assaf

Not sure if this was already cleared up (I'm assuming not since I ran into the same issue when reinstalling Cachelib today), but I managed to get around the folly build issue by doing ./contrib/build-package.sh -d. Definitely doesn't address the issue within the build script though...
Still in the midst of installation, so there may or may not be further issues down the line that I haven't encountered yet doing it this way.


X-Ray Module 3: error info missing

I get an empty Exceptions tab on the X-Ray pop up Subsegment - List Unicorns when following the tutorial.
Work around: deploy with the simulated error active err = Error("something is wrong");  and the simulated delay commented out // const isDelayed = true;
It appears the the delay is some how interfering with the error/stacktrace capture.

Thanks for your feedback.  We've update the DevOps Serverless Workshop with new content: https://cicd.serverlessworkshops.io/


#1739 Using data from mbtiles to set the bounds

A picture tells a thousand words
Before this PR

After this PR

👌


User Settings: Table cell wrapping breaks up single words across two lines

*Note: This occurs on normal-size screen width.
Steps

Navigate to your User Settings.
Edit your Education, such that your department name is long, like "English Language and Literature".
Edit your Employment such that your job title and/or workplace title is long.
Head to your public profile page and click on the "Education" and "Employment" tabs.

Expected behavior
I expect an individual word to remain on one line and not be broken up onto two lines.
Actual behavior
Words are split up onto two lines.
Screenshots
Employment tab

Education tab

Related to #4171, except that this issue occurs on normal-size screens and #4171 occurs only on small screens. @caneruguz, you've asked me to tag you on this, so here it is!


Revert breaking API in #12708

Parallel with #14229. This is partial revert of #12708 which only reverts the breaking API change.

****************************************************************

libgrpc.so

     VM SIZE                                                    FILE SIZE
 ++++++++++++++ GROWING                                      ++++++++++++++

 -------------- SHRINKING                                    --------------
  -0.1%    -871 [None]                                       -7.22Ki  -0.1%
      -0.1%    -684 [Unmapped]                                   -7.10Ki  -0.1%
      -1.9%     -64 static_metadata_hash                               0  [ = ]
      -1.9%     -64 grpc_static_slice_table                          -64  -1.9%
      -1.9%     -32 grpc_static_metadata_refcounts                   -32  -1.9%
      -2.4%     -27 g_bytes                                          -27  -2.4%
      -1.9%      -8 static_metadata_hash_values                        0  [ = ]
      -2.0%      -2 elems_r                                           -2  -2.0%
      -1.8%      -2 elem_idxs                                         -2  -1.8%
  [DEL]    -553 src/core/lib/compression/compression_ruby.cc    -553  [DEL]
      [DEL]    -330 grpc_compression_algorithm_parse_ruby           -330  [DEL]
      [DEL]    -217 grpc_compression_algorithm_name_ruby            -217  [DEL]
      [DEL]      -6 [Unmapped]                                        -6  [DEL]

  -0.1% -1.39Ki TOTAL                                        -7.76Ki  -0.1%

****************************************************************

libgrpc++.so

     VM SIZE              FILE SIZE
 ++++++++++++++ GROWIN ++++++++++++++

 -------------- SHRINK --------------
  [ = ]       0 [None]     -24  -0.0%

  [ = ]       0 TOTAL      -24  -0.0%

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                    FILE SIZE
 ++++++++++++++ GROWING                                      ++++++++++++++

 -------------- SHRINKING                                    --------------
  -0.1%    -871 [None]                                       -7.22Ki  -0.1%
      -0.1%    -684 [Unmapped]                                   -7.10Ki  -0.1%
      -1.9%     -64 static_metadata_hash                               0  [ = ]
      -1.9%     -64 grpc_static_slice_table                          -64  -1.9%
      -1.9%     -32 grpc_static_metadata_refcounts                   -32  -1.9%
      -2.4%     -27 g_bytes                                          -27  -2.4%
      -1.9%      -8 static_metadata_hash_values                        0  [ = ]
      -2.0%      -2 elems_r                                           -2  -2.0%
      -1.8%      -2 elem_idxs                                         -2  -1.8%
  [DEL]    -553 src/core/lib/compression/compression_ruby.cc    -553  [DEL]
      [DEL]    -330 grpc_compression_algorithm_parse_ruby           -330  [DEL]
      [DEL]    -217 grpc_compression_algorithm_name_ruby            -217  [DEL]
      [DEL]      -6 [Unmapped]                                        -6  [DEL]

  -0.1% -1.39Ki TOTAL                                        -7.76Ki  -0.1%

****************************************************************

libgrpc++.so

     VM SIZE              FILE SIZE
 ++++++++++++++ GROWIN ++++++++++++++

 -------------- SHRINK --------------
  [ = ]       0 [None]     -24  -0.0%

  [ = ]       0 TOTAL      -24  -0.0%

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_pump.BM_PumpStreamServerToClient_SockPair__1.counters.old: 1
    bm_fullstack_streaming_pump.BM_PumpStreamServerToClient_SockPair__64.counters.new: 1

[microbenchmarks] No significant performance differences

Failure is #14128


Websockets implementation tries to send message when connection is closed

Sometimes a websockets/subscription connection gets closed by the browser and trying to send a message fails, we have a catch all exception that sends the error via GraphQL (useful for resolver exceptions), but we need to handle websockets.exceptions.ConnectionClosedOK and terminate the subscription (a return should be enough).
https://github.com/strawberry-graphql/strawberry/blob/master/strawberry/asgi/__init__.py#L121-L130
The only gotcha is that we shouldn't import websockets in the main namespace as it is an optional dependency at the moment

I think this was fixed when we refactored the ws integrations 😊


Deleted pods in k8s needs to be handled in argo.

Is this a BUG REPORT or FEATURE REQUEST?:
BUG Report
What happened:
When underlying pod is deleted in k8s. Argo retry node is not spawning new node even if re-try attempts are left.
What you expected to happen:
Controller should treat deleted pods as errors and continue with either creating new pod or mark retry node as error appropriately.
How to reproduce it (as minimally and precisely as possible):
Delete pod in retry node manually in k8s.
Anything else we need to know?:
Environment:

Argo version:

argo: v2.1.1
  BuildDate: 2018-05-29T20:38:37Z
  GitCommit: ac241c95c13f08e868cd6f5ee32c9ce273e239ff
  GitTreeState: clean
  GitTag: v2.1.1
  GoVersion: go1.9.3
  Compiler: gc
  Platform: darwin/amd64

Kubernetes version :

kubectl version -o yaml
clientVersion:
  buildDate: 2018-06-22T05:40:13Z
  compiler: gc
  gitCommit: 32ac1c9073b132b8ba18aa830f46b77dcceb0723
  gitTreeState: clean
  gitVersion: v1.10.5
  goVersion: go1.9.7
  major: "1"
  minor: "10"
  platform: darwin/amd64
serverVersion:
  buildDate: 2018-02-07T11:55:20Z
  compiler: gc
  gitCommit: d2835416544f298c919e2ead3be3d0864b52323b
  gitTreeState: clean
  gitVersion: v1.9.3
  goVersion: go1.9.2
  major: "1"
  minor: "9"
  platform: linux/amd64

Other debugging information (if applicable):

workflow result:

~$ argo get cmg-1529802060
Name:                cmg-1529802060
Namespace:           ml-prod
ServiceAccount:      default
Status:              Running
Created:             Sat Jun 23 18:01:22 -0700 (1 day ago)
Started:             Sat Jun 23 18:01:22 -0700 (1 day ago)
Duration:            1 days 18 hours 37 minutes 52 seconds
STEP                                            PODNAME                                          DURATION  MESSAGE
 ● cmg-1529802060
 ├---✔ model-gen-prep
 |   ├-✖ model-gen-prep(0)                      cmg-1529802060-3308568300  16m       failed with exit code 1
 |   └-✔ model-gen-prep(1)                      cmg-1529802060-1630659305  58m
 └-·-✖ model-gen-training(0:demo:f18_34)                                                                   No more retries left
   | ├-✖ model-gen-training(0:demo:f18_34)(0)   cmg-1529802060-2253993419  10m       failed with exit code 1
   | ├-✖ model-gen-training(0:demo:f18_34)(1)   cmg-1529802060-2858134798  53m       failed with exit code 1
   | ├-✖ model-gen-training(0:demo:f18_34)(2)   cmg-1529802060-2455619037  13s       failed with exit code 1
   | ├-✖ model-gen-training(0:demo:f18_34)(3)   cmg-1529802060-2791318512  7m        failed with exit code 1
   | ├-⚠ model-gen-training(0:demo:f18_34)(4)   cmg-1529802060-241370687   1d        pod deleted
   | ├-✖ model-gen-training(0:demo:f18_34)(5)   cmg-1529802060-845512066   11m       failed with exit code 1
   | ├-✖ model-gen-training(0:demo:f18_34)(6)   cmg-1529802060-711438209   2m        failed with exit code 1
   | ├-✖ model-gen-training(0:demo:f18_34)(7)   cmg-1529802060-2389347204  14m       failed with exit code 1
   | ├-✖ model-gen-training(0:demo:f18_34)(8)   cmg-1529802060-2792157155  15m       failed with exit code 1
   | ├-✖ model-gen-training(0:demo:f18_34)(9)   cmg-1529802060-2322530918  13s       failed with exit code 1
   | └-✖ model-gen-training(0:demo:f18_34)(10)  cmg-1529802060-3910701520  10m       failed with exit code 1
   ├-✔ model-gen-training(10:demo:f21_49)(0)    cmg-1529802060-1436784580  1h
   ├-✔ model-gen-training(11:demo:f21_99)(0)    cmg-1529802060-1954071774  1h
   ├-● model-gen-training(1:demo:f18_49)
   | ├-✖ model-gen-training(1:demo:f18_49)(0)   cmg-1529802060-3705857692  11m       failed with exit code 1
   | └-⚠ model-gen-training(1:demo:f18_49)(1)   cmg-1529802060-3101716313  1d        pod deleted
   ├-✔ model-gen-training(2:demo:f18_99)(0)     cmg-1529802060-485286116   1h
   ├-✔ model-gen-training(3:demo:m18_34)(0)     cmg-1529802060-3915130641  1h
   ├-✔ model-gen-training(4:demo:m18_49)(0)     cmg-1529802060-3246018548  1h

I tried to reproduce this, but I could not. I am able to confirm that deleted pods are indeed being retried:
Name:                parallelism-limit-x5pmh
Namespace:           default
ServiceAccount:      default
Status:              Failed
Message:             child 'parallelism-limit-x5pmh-1567181470' failed
Created:             Tue Aug 28 03:13:24 -0700 (3 minutes ago)
Started:             Tue Aug 28 03:13:24 -0700 (3 minutes ago)
Finished:            Tue Aug 28 03:16:43 -0700 (now)
Duration:            3 minutes 19 seconds

STEP                           PODNAME                             DURATION  MESSAGE
 ✖ parallelism-limit-x5pmh                                                   child 'parallelism-limit-x5pmh-1567181470' failed
 └-·-✔ sleep(0:this)(0)        parallelism-limit-x5pmh-2126383399  1m
   ├-✔ sleep(1:workflow)(0)    parallelism-limit-x5pmh-1762536779  1m
   ├-✔ sleep(2:should)(0)      parallelism-limit-x5pmh-1915675102  1m
   ├-✔ sleep(3:take)
   | ├-✖ sleep(3:take)(0)      parallelism-limit-x5pmh-1494225199  40s       pod failed for unknown reason
   | └-✔ sleep(3:take)(1)      parallelism-limit-x5pmh-1024598962  1m
   ├-✔ sleep(4:at)(0)          parallelism-limit-x5pmh-4027640022  1m
   ├-✔ sleep(5:least)(0)       parallelism-limit-x5pmh-3848287587  1m
   ├-✔ sleep(6:60)(0)          parallelism-limit-x5pmh-2096368459  1m
   ├-✔ sleep(7:seconds)(0)     parallelism-limit-x5pmh-741286865   1m
   ├-✔ sleep(8:to)(0)          parallelism-limit-x5pmh-3368753014  1m
   └-✖ sleep(9:complete)                                                     No more retries left
     ├-⚠ sleep(9:complete)(0)  parallelism-limit-x5pmh-974189773   3m        pod deleted
     └-⚠ sleep(9:complete)(1)  parallelism-limit-x5pmh-2383656864  1m        pod deleted

In the above example, I deleted a few pods from underneath the controller. The pod was retried as expected.
I'm now looking at the output in the original bug, I actually do no see evidence that this isn't working as intended.
Here we see that model-gen-training(1:demo:f18_49) has not yet been marked failed.
   ├-● model-gen-training(1:demo:f18_49)
   | ├-✖ model-gen-training(1:demo:f18_49)(0)   cmg-1529802060-3705857692  11m       failed with exit code 1
   | └-⚠ model-gen-training(1:demo:f18_49)(1)   cmg-1529802060-3101716313  1d        pod deleted

I think the real issue is that model-gen-training(1:demo:f18_49) node was stuck, and was not proceed with creating more pods for the retries. The stuck retry node may be a result of some bad metadata that was getting formed in v2.1.1 specifically with respect to retries.  v2.2 fixes some metadata issues happening with retries so I do think this may be already fixed.
Here is another issue where retry node was stuck: https://github.com/argoproj/argo/issues/965


[FLINK-25145] Add Zookeeper 3.6

Pretty similar to the current 3.5 module. Main difference is the ZK version (duh), and that we also bundle io.dropwizard.metrics:metrics-core.
A Flink build with the required changes can be seen here: https://dev.azure.com/chesnay/flink/_build/results?buildId=1850&view=results

jar tf flink-shaded-zookeeper-parent/flink-shaded-zookeeper-36/target/flink-shaded-zookeeper-3-3.6.3-15.0.jar | grep -v flink | cut -d '/' -f1-2 | sort | uniq -c
   1 META-INF/
   1 META-INF/DEPENDENCIES
   1 META-INF/LICENSE
   1 META-INF/MANIFEST.MF
   1 META-INF/NOTICE
   1 META-INF/io.netty.versions.properties
  11 META-INF/native-image
   2 META-INF/services
   1 org/
   1 org/apache
  38 org/slf4j

Should we exclude the slf4j-api dependency?
There are also lot of "original" service files from netty, can these conflict in anyway with the ones that we're using in flink?

Also since the netty version is aligned with the one that we're using in Flink, would it be possible to exclude this from the shaded zookeeper jar and reuse the one from netty-shaded?

ah, dropwizard brought in slf4j again. Unfortunately we need to now explicitly list all slf4j dependencies, because the enforcer plugin doesn't properly handle wildcard exclusions 😢 (If we upgrade the plugin it finds new violations, which I'd fix in a separate ticket).
As for sharing dependencies, I'd like to avoid that to keep things simpler. You'd also safe like 4mb total; it's not really worth the hassle.

Would it really make things that more complex?

I didn't say that complexity would shoot threw the roof. Just that it's more.
How do you ensure that flink-shaded-netty bundles everything that Zookeeper actually needs? It may need at some point some optional netty thing, or we may cut out stuff from netty to save space. But to do that you need to be aware that there even is this coupling.
The separation allows you to use flink-shaded-zookeeper with a newer netty version if the given netty version is not usable for the runtime/rest api. Similarly, we can bump the network/netty without affecting zookeeper.

this could be quite a lot

Compared to bundling Scala 3 times, or even a single filesystem, it really isn't.

👍 I still think that the image size matters, but what your arguments make me think that it should be part of a bigger story, that also introduces appropriate safeguards.


update to version 7.18.0

automatic merge fails: https://github.com/holunda-io/camunda-bpm-api/pull/44
Probably we have to adopt to incompatible API changes (again ...).

Implemented by #44


Getting ErrorItemNotFound while trying to retrieve some attachments

In most cases, the scheme of getting attachment data with the help of Outlook REST API works well, but sometimes it fails, for the reason I can't understand. For clarity: I get the message and attachment ids from the Outlook.js API, convert them (convertToRestId), get proper access token, send everything to the back-end and make the Outlook REST API call from there to get the attachment content. In some cases (depend on particular message/attachment), API method returns "ErrorItemNotFound" ("The specified object was not found in the store.") error. I know at least one case when we failed to get an attachment, but succeeded to retrieve the message's attachments list, and identified one of the attachments as the one we failed to retrieve by other means (name, size...). In other words, attachment could actually exist, but its ID is different, for some reason.
Obviously, I could improve the algorithm, giving it the "smart" ability to automatically make two additional API calls for problematic attachments, but it looks a little bit "too much" (not to mention that the attachments could theoretically share the name). So, before I start to work on such a workaround, I'd like to know for sure I do everything right.
In brief: Why the ID I got from Outlook.js API sometimes differ from the ID Outlook REST API expected (while, it seems, the Outlook itself successfully works with the "problematic" attachments)? How to deal with these cases properly?

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

ID: 156e08f2-c7d3-ab98-eb6a-882c26da4bc8
Version Independent ID: e3a2b6e0-9eb5-c4cd-5d40-2d0e94babe0a
Content: Use the Outlook REST APIs from an Outlook add-in - Outlook Developer
Content Source: docs/add-ins/use-rest-api.md
Product: outlook
GitHub Login: @o365devx
Microsoft Alias: o365devx

OK, since no one is going to answer my question, it seems, guess I have to answer it myself. Here is what I've found: https://support.microsoft.com/en-nz/help/4483878/erroritemnotfound-when-office-add-ins-make-rest-calls-against-item-id In brief: item ID could be cached on the client side and therefore, in some cases, differ from what is stored on the server side. I.e. the situation "ErrorItemNotFound" is pretty legitimate, so the Outlook Add-in developers should be ready for these errors.
How to deal with these cases? There are several options I see:

create some smart algorithm I've mentioned above;
do not rely on JS API when getting attachment list (i.e. make requests to the REST API);
do nothing.

@igor-krein I think you've pretty much covered it. You can either be optimistic and always try the ID that the Office.js APIs give you, falling back to querying with REST if you get this error, or you can be pessimistic and always use REST. You might get this error too if the user adds an attachment on the client that hasn't been uploaded to the server yet (meaning the attachment doesn't exist at all on the server). In that case a retry after some time might also do the trick.


Create companion app to deploy arcade accounts

Related to #347
Goal
Create a new Next.js 14 application that's used to deploy the arcade account for mobile apps. The app will be a simple Starknet React app that uses Tailwind + Shadcn for styling.
Routes

/setup: this page is linked from the mobile app and is used to fund, deploy, and initialize arcade accounts. It receives all parameters through query parameters.
/setup/completed: at the end of the setup flow, redirect users to this page and tell them to go back to the mobile app.

References
We can use the burner account demo as a starting point for this application.

Is this issue still open I could handle it ASAP @fracek  I could create the next js app for deploying the project to the mobile app


nixos/utils: add /boot to pathsNeededForBoot

Description of changes

This was required in order to have the module for the filesystem loaded (vfat) when using boot.initrd.systemd. I am not sure if there are any other implications of this or a reason this was not already included.
This was not yet tested as I am facing other issues with systemd initrd as well (https://github.com/serokell/deploy-rs/issues/185), I am pushing this up now mostly to see if somebody else can correct me early if this is a mistake.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

couldn't reproduce the original issue that required this :shrug:


[GHSA-g9xm-7538-mq8w] Exiv2 has an out-of-bounds read in QuickTimeVideo::NikonTagsDecoder

Updates

Affected products

Comments
Per the upstream advisory for libexiv2, only versions 0.28.0 and 0.28.1 are affected, and after inspection of the wheels available for the exiv2 on PyPI, I believe only v0.16.0 is potentially affected:

pypi exiv2 version
bundled libexiv2 version
affected

0.16.0
0.28.1
true

0.16.1
0.27.7
false

0.16.2
0.27.7
false

0.16.2.post1
0.27.7
false

0.16.3
0.28.2
false

Hi there @kevinbackhouse! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@westonsteimel: I don't see the problem here. Exiv2 version 0.28.0 is not mentioned in that table, so everything is consistent, right?
By the way, https://pypi.org/project/exiv2 is a wrapper around Exiv2 that's maintained by a separate team.
Also, are you sure that your version table is correct? It seems unlikely that 0.16.0 would use 0.28.1 but 0.16.1 would use 0.27.7.

@westonsteimel: I don't see the problem here. Exiv2 version 0.28.0 is not mentioned in that table, so everything is consistent, right?

v0.28.1 is though


[ui] change block and add column

add input of search
add 2 column
small fixes

I need to do:

[ ] Make file filter input work
[ ] Configurable sample data (now the build/app.js and dev/sample-data.js files are unnecessary big)

Right?

@andywer Yeap :)

Just pushed to https://github.com/andywer/postcss-debug/tree/develop. Includes your new UI, working search field, cleaner sample data code, fixed positioning and useful help links.
If you don't have further objections or almost-ready improvements I would release the current state as 0.3.0 in the next hours.
Thanks a lot so far. It looks really cool now :)

@andywer Ok. We made your project so better :) Maybe close this Pull Request ?

@Gaserd @ai Any more changes you would like to see in 0.3.0?

Remove common parts for file paths :). (at least screenshot still contain it)

Also please write tweet about 0.3 with screenshot, I will retweet it by PostCSS account

Ahhh, right. Done!
Of course I tweet that it just got a new UI ;)
https://twitter.com/andywritescode/status/738074161076183040

Can I ask you post it again with screenshot?

👍

@andywer No. I want to make a few changes even after the 0.3.0 and I'm so happy with everything :)


Fixing numbers

closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/3053

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@JoanneHendrickson Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@scanum can you help me get this merged? Thanks


[REACT] trade history taker is broken

Displays (you) next to the taker

can i be assigned to this @edisontim


Import multilingual embedding app

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

💯


Update links for brigadecore

Follow up to #847. Just updates the link to GitHub on the Docs theme.

Related: https://github.com/Azure/brigade/pull/847

Will merge this one after 847, as that tackles pretty much everything, and there's possibly overlap.


Error when importing 10000 images

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

I have 10000 images, 42MB each, mounted into a CVAT share.
Creating a task with 1 such image succeeds
Creating the task with 10000 of them fails  - well, partly - as the imported images can be seen and annotated after re-login into CVAT,
but  error logs show, some internal structure (i.e. a Task directory containing a client.log) has not been created.
Expected Behaviour

The Task should be created without error.
Current Behaviour

The Task is only partly created.
It can be seen after logout-login,
but whenever we annotate and save something,
an error panel pops up, telling the the log cannot be written
Possible Solution

Maybe, someone have a look at it, as it seems to be a timeout issue to me..
Steps to Reproduce (for bugs)

logged into fresh CVAT as superuser: django

created Project: Project1

with Labels: L1

created Task: Task1

Connected file share /media/sda -> A.png (50 byte size)

Advanced configuration

Not copying data into CVAT

Not using zip chunks

Use cache

Image quality: 100%

Format: CVAT for images 1.1

ok! Task created

created Task2

Connected file share /media/sda -> 0_16kx1k.png (42MB size)

ok! Task created

Try to create Task3

Connected file share /media/sda -> 0_16kx1k.png .. 10000_16kx1k.png (10000 images with 42MB)

Could not create the task

Context

We try to annotate large RGB images (16k x 1k), which usually works well..
 No

Operating System and version: Ubuntu 20.04

Code example or link to GitHub repo or gist to reproduce problem:

Other diagnostic information / logs:

Logs from `cvat` container

cvat_redis    | 1:M 27 Jan 09:22:12.132 * 100 changes in 300 seconds. Saving...
cvat_redis    | 1:M 27 Jan 09:22:12.133 * Background saving started by pid 14
cvat_redis    | 14:C 27 Jan 09:22:12.170 * DB saved on disk
cvat_redis    | 14:C 27 Jan 09:22:12.170 * RDB: 0 MB of memory used by copy-on-write
cvat_redis    | 1:M 27 Jan 09:22:12.233 * Background saving terminated with success
cvat          | 2022-01-27 09:23:21,547 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:23:21,547 - worker - default: cvat.apps.engine.task._create_thread(2, {'chunk_size': None, 'size': 0, 'image_quality': 100, 'start_frame': 0, 'st...) (/api/v1/tasks/2)
cvat          |
cvat          | 2022-01-27 09:23:21,547 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:23:21,547 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
cvat          |
cvat          | 2022-01-27 09:23:21,567 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:23:21,566 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.
cvat          |
cvat          | 2022-01-27 09:23:21,578 DEBG 'rqworker_default_0' stderr output:
cvat          | [2022-01-27 09:23:21,578] INFO cvat.server: create task #2
cvat          |
cvat          | 2022-01-27 09:23:21,578 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:23:21,578 - task - create task #2
cvat          |
cvat          | 2022-01-27 09:23:22,058 DEBG 'rqworker_default_0' stderr output:
cvat          | [2022-01-27 09:23:22,058] INFO cvat.server: Found frames 1 for Data #2
cvat          |
cvat          | 2022-01-27 09:23:22,058 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:23:22,058 - task - Found frames 1 for Data #2
cvat          |
cvat          | 2022-01-27 09:23:22,059 DEBG 'rqworker_default_0' stderr output:
cvat          | [2022-01-27 09:23:22,059] INFO cvat.server: New segment for task #2: start_frame = 0,             stop_frame = 0
cvat          |
cvat          | 2022-01-27 09:23:22,059 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:23:22,059 - task - New segment for task #2: start_frame = 0,             stop_frame = 0
cvat          |
cvat          | 2022-01-27 09:23:22,083 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:23:22,083 - worker - Handling successful execution of job /api/v1/tasks/2
cvat          |
cvat          | 2022-01-27 09:23:22,086 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:23:22,086 - worker - default: Job OK (/api/v1/tasks/2)
cvat          |
cvat          | 2022-01-27 09:23:22,086 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:23:22,086 - worker - Result is kept for 500 seconds
cvat          |
cvat          | 2022-01-27 09:23:22,103 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:23:22,102 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
cvat          |
cvat          | 2022-01-27 09:23:22,103 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:23:22,103 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
cvat          |
cvat          | 2022-01-27 09:23:22,104 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:23:22,103 - worker - *** Listening on default...
cvat          |
cvat          | 2022-01-27 09:23:22,104 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:23:22,104 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
cvat          |
cvat_redis    | 1:M 27 Jan 09:27:21.116 * 100 changes in 300 seconds. Saving...
cvat_redis    | 1:M 27 Jan 09:27:21.117 * Background saving started by pid 15
cvat_redis    | 15:C 27 Jan 09:27:21.145 * DB saved on disk
cvat_redis    | 15:C 27 Jan 09:27:21.145 * RDB: 0 MB of memory used by copy-on-write
cvat_redis    | 1:M 27 Jan 09:27:21.217 * Background saving terminated with success
cvat          | 2022-01-27 09:27:44,886 DEBG 'rqworker_low' stderr output:
cvat          | DEBUG - 2022-01-27 09:27:44,885 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
cvat          |
cvat          | 2022-01-27 09:28:57,181 DEBG 'rqworker_default_1' stderr output:
cvat          | DEBUG - 2022-01-27 09:28:57,181 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
cvat          |
cvat          | 2022-01-27 09:29:05,943 DEBG 'runserver' stderr output:
cvat          | [Thu Jan 27 09:29:05.943023 2022] [wsgi:error] [pid 743:tid<PHONE_NUMBER>10304] [client <IP_ADDRESS>:55488] Timeout when reading response headers from daemon process 'localhost:8080': /tmp/cvat-server/htdocs/api, referer: https://<my.ip.address>/tasks/create?projectId=1
cvat          |
cvat          | 2022-01-27 09:29:31,830 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:29:31,830 - worker - default: cvat.apps.engine.task._create_thread(3, {'chunk_size': None, 'size': 0, 'image_quality': 100, 'start_frame': 0, 'st...) (/api/v1/tasks/3)
cvat          |
cvat          | 2022-01-27 09:29:31,831 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:29:31,831 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
cvat          |
cvat          | 2022-01-27 09:29:31,850 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:29:31,848 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.
cvat          |
cvat          | 2022-01-27 09:29:31,868 DEBG 'rqworker_default_0' stderr output:
cvat          | [2022-01-27 09:29:31,867] INFO cvat.server: create task #3
cvat          |
cvat          | 2022-01-27 09:29:31,868 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:29:31,867 - task - create task #3
cvat          |
cvat          | 2022-01-27 09:29:38,156 DEBG 'rqworker_default_0' stderr output:
cvat          | [2022-01-27 09:29:38,155] INFO cvat.server: Found frames 10000 for Data #3
cvat          |
cvat          | 2022-01-27 09:29:38,156 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:29:38,155 - task - Found frames 10000 for Data #3
cvat          |
cvat          | 2022-01-27 09:29:38,156 DEBG 'rqworker_default_0' stderr output:
cvat          | [2022-01-27 09:29:38,156] INFO cvat.server: New segment for task #3: start_frame = 0,             stop_frame = 9999
cvat          |
cvat          | 2022-01-27 09:29:38,157 DEBG 'rqworker_default_0' stderr output:
cvat          | INFO - 2022-01-27 09:29:38,156 - task - New segment for task #3: start_frame = 0,             stop_frame = 9999
cvat          |
cvat          | 2022-01-27 09:29:38,717 DEBG 'rqworker_default_0' stderr output:
cvat          | DEBUG - 2022-01-27 09:29:38,716 - worker - Handling successful execution of job /api/v1/tasks/3
cvat          |

As you may see in the logs, it tells that the creation has been executed successfully, but that's not the case.
Next steps
You may join our Gitter channel for community support.

Hi, just asking politely, if there is an update on the issue?

Another user here with very similar problem. Have 10K images. Generated annotations, downloaded them, parsed them, but when try to upload I get an error of file too big:
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)

cvat-ui.580642541947bec0314e.min.js:393 Error: Request failed with status code 413. "\r\n<title>413 Request Entity Too Large</title>\r\n\r\n
413 Request Entity Too Large
\r\n
openresty\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n".

In my case the file size in my case is ~100MB. Do we have an update on this?

@veriff-javiervgd , CVAT got a couple of improvements in the uploading functionality. Please try CVAT v2.0.0.

https://github.com/openvinotoolkit/cvat/pull/3692

Thank you for your quick response and taking the time to do so. In my case I am just a simple developer who have access to CVATv3 tool, I do not have access to devops tooling and hence I can not deploy the old version :disappointed:

@veriff-javiervgd , if you have CVAT v3, please share it with us. The latest official version of CVAT is v2.0.0

hahahaha ok ok, you are right, apparently v3 stands for the "3th try" of the deployment. Sorry for my incompetence, I am new to this. Ok, after researching a bit I found a default max upload file size in django so I am going to try to increase the FILE_UPLOAD_MAX_MEMORY_SIZE in django settings.py. If I am not successful I will try to divide the dataset Task into 100 jobs and will split the annotations file into 100 files so I can halve the size by 100.

Did you try the latest version?

Yes, I tried and it worked. When I upload a big CVAT file the UI keep this progress circle animation going on and seems stale but after 5 -10 mins the upload is actually performed so thank you for the effort 🙌🏼

@veriff-javiervgd , thanks for the feedback. I will close the issue.


Video player not visible on samsung tv (tizen )and emulator

Hi,
I'm developing an app and right now I'm facing a weird scenario.
I can play a video, navigate and everything is working fine on the TV Web Simulator.
Then I install the wgt (it's been signed) on the emulator and the app is working, I can navigate and everything, but when I launch a video I have the sound but not the video. So I'm guessing the player has been initialized but has a 0/0 width height.
One other thing, I'm not having the DURATION event on the emulator.
The video I'm trying to load is a basic m3u8 manifest.
I also tried on a real samsung TV and I have the same issue as the emulator.
Do you have an idea of what's happening?
By the way impossible to debug the app, tizen studio is having an issue each time, I can only install an app using the cli.

The real issue was that during the initialization of the player toast is getting the size of the parent element.
I was using vuejs and in my case the size was 0, then the page was loading and this value was updated to the full screen (let's say 1920x1080), BUT the player initialized by toast was still 0.
There is a code in the toast framework that should catch the size update of my element and update the player itself, but it wasn't trigger.
I was able to trigger it from the web simulator by just clicking.
To fix it you can:

use Tizen native api to insert the player (so you handle the size by yourself)
update toast so you can manually trigger the update
update your code to manually trigger the existing scaling function

Hi
Sorry to late reply.
As you say, Tizen avplay has issue.  which occurs when set width or height to 0.
Toast control when all of video rect size is 0. but only width/height is 0 , like your case, it is hole.
It is not a standard, I recommend set width or height to 1.
I will check solution update TOAST or Tizen Platform.
Thank you.


[Improvement] support schema exists interface for Iceberg REST server

What would you like to be improved?

I checked IcebergNamespaceOperations and Iceberg's catalogHandlers, but didn't find anything like namespaceExists. It seems there isn't an existing function for that.  https://github.com/apache/gravitino/pull/5594#issuecomment-2480547001

As mentioned by @orenccl , we doesn't implement namespace exists interface in Iceberg REST server. We could add the interface like table exists in https://github.com/apache/gravitino/blob/main/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableOperations.java#L237-L256, leveraging loadNamepace in CatalogHandlers to check whether namespace exists or not.
How should we improve?
No response

Please assgn this to me!

Thanks @orenccl for taking it.

I was exploring and discovered that the SupportsNamespaces interface has an namespaceExists function.
You can find it here: SupportsNamespaces Javadoc.

I was exploring and discovered that the SupportsNamespaces interface has an exists function.
You can find it here: SupportsNamespaces Javadoc.

I was exploring and discovered that the SupportsNamespaces interface has an namespaceExists function. You can find it here: SupportsNamespaces Javadoc.

yes, this is a better way!


Fix crash for CGColor related property on view called with color with withAlphaComponent

When setting a view's background color with withAlphaComponent with an alpha value other than 0.5, for example view.backgroundColor = UIColor(.dm, light: .white, dark: .black).withAlphaComponent(0.4), it would crash with:

it's weird that it would not crash with
view.backgroundColor = UIColor(.dm, light: .white, dark: .black).withAlphaComponent(0.5)
though
To solve this, we bridge CGColor call directly, instead of relying on message forwarding

@imWildCat  this should solve the crash we encountered