refactor: enable running on multiple instances

This is a narrowly-targeted change to address our lack of production redundancy, and allow the app to be deployed without taking it offline for the duration. In particular, this does not enable alert processing to scale horizontally.
There are a few moving parts:

AlertProcessor.Lock is introduced, a database-backed lock that can only be acquired by one instance at a time.

Model.Metadata is introduced, a method of storing generic key-value data in the database.

AlertWorker is rewritten to use Lock to ensure no other instances are processing alerts at the same time, and Metadata to determine when each duration type was last processed, even if it was processed by a different instance.

deploy.sh is modified to just update the service with the new task definition, instead of taking it down, updating it, and bringing it back up. Most of this is borrowed from the API dev-blue deploy script.

prod.vm.args is created for the Distillery release, allowing us to set the sname option. This causes a "hostname" like ip-x-x-x-x to be generated at runtime, which will then appear in the "node" part of log lines and allow us to differentiate between instances.

Since alert processing speed has improved quite a bit since the numbers were originally set, this also adjusts the interval for "oldest" alerts, which are now processed every 10 minutes instead of every 60. Typically this group only takes ~10 seconds to process on production.
Deployment
This branch is currently deployed to dev-green, and dev-green has also been upgraded to 2 instances. Looking at the AlertWorker activity in the Splunk logs you can see the exclusive lock at work, where occasionally something like this will happen (newest at the top):
2021-05-03T17:55:57.475 [info] node=alerts_concierge@ip-A AlertWorker event=check_end
2021-05-03T17:55:57.433 [info] node=alerts_concierge@ip-B AlertWorker event=check_end
2021-05-03T17:55:57.432 [info] node=alerts_concierge@ip-B AlertWorker event=skip reason=lock_in_use
2021-05-03T17:55:57.429 [info] node=alerts_concierge@ip-B AlertWorker event=check_start
2021-05-03T17:55:57.412 [info] node=alerts_concierge@ip-A AlertWorker event=process duration_type=recent seconds_outdated=2
2021-05-03T17:55:57.410 [info] node=alerts_concierge@ip-A AlertWorker event=check_start

If this code is deployed on an environment that still only has one instance (e.g. production), it will actually retain the old behavior of shutting down, updating the service, and starting up — it turns out ECS can do this just fine without us scripting it. So the intended flow is 1) deploy this, then 2) modify the environment to have two instances. This app synchronously runs migrations at startup, so it's fine that the database doesn't yet have the metadata table (though this is the last time it will be fine, since we are moving to multiple instances).
Side note
There is no test that a process can hold the Lock for longer than the usual database timeout of 15s, which we certainly need to for long processing runs. But, it's easy to verify this is possible using IEx:
AlertProcessor.Lock.acquire(fn :ok -> Process.sleep(60_000) end)

@arkadyan Just so it's seen by more than one pair of eyes, I added a small config change to this branch after discovering an error that occurred on the dev-green deployment. The commit message should explain it!

@digitalcora 👌


fix: allow dict type module_outputs in infer_module_output_dtypes

Description
A graph module's output might have nested structures depending on the implementation. For example, many models from transformers returns output of type ModelOutput (e.g. CausalLMOutputsWithPast).
This PR doesn't aim to handle all possible nested pytree structures imposed by graph module outputs. However, this simple fix at least allows the model output to be a non-nested dictionary (or a subclass of dict) of tensors (or values that could be converted to tensor via torch.tensor).
P.S. the comment in the subsequent for loop in the code # We don't need to check if output is nested here because the input module will be flattened is misleading. We need to actually handle the nested outputs here.
Type of change
Please delete options that are not relevant and/or add your own.

New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas and hacks
[ ] I have made corresponding changes to the documentation
[ ] I have added tests to verify my fix or my feature
[ ] New and existing unit tests pass locally with my changes
[ ] I have added the relevant labels to my PR in so that relevant reviewers are notified

@peri044 isnt AOTExport supposed to handle this for us?

@jiwoong-choi Can you provide a model where you have seen this issue ? We have tested on some huggingface models and haven't encountered this issue. From my understanding, graphmodule should have tensors/scalars in and tensors/scalars out. The nested ones should be handled by the pytree flatten/unflatten that's encoded in the in_spec and out_spec of the graph module.

The graph module can indeed output pretty much every nested tensors format (internally using pytree.unflattenin my understanding).
Here's a simple example code that can demonstrate what I've just said.
import torch
from transformers import BertModel

def main():
    model = BertModel.from_pretrained("bert-base-uncased")
    example_kwargs = {
        "input_ids": torch.randint(100, 1000, (1, 128), dtype=torch.int64),
        "token_type_ids": torch.zeros(1, 128, dtype=torch.int64),
        "attention_mask": torch.ones(1, 128, dtype=torch.int64),
        "return_dict": True
    }
    exported_program = torch.export.export(
        model, args=(), kwargs=example_kwargs,
    )
    graph_module = exported_program.module()
    outputs = graph_module(**example_kwargs)
    print(type(outputs))

if __name__ == "__main__":
    main()

The output of the code is <class 'transformers.modeling_outputs.BaseModelOutputWithPoolingAndCrossAttentions'>, which is a subclass of OrderedDict.

FYI if you run graph_module.print_readable() from the above example code, the last few lines of the graph module's code looks as follows:
... (omitted)

# File: /home/hdd/jiwoongchoi/micromamba/envs/torch-trt/lib/python3.10/site-packages/transformers/models/bert/modeling_bert.py:746 in forward, code: pooled_output = self.dense(first_token_tensor)
linear_72: "f32[1, 768]" = torch.ops.aten.linear.default(select, pooler_dense_weight, pooler_dense_bias);  select = pooler_dense_weight = pooler_dense_bias = None

# File: /home/hdd/jiwoongchoi/micromamba/envs/torch-trt/lib/python3.10/site-packages/transformers/models/bert/modeling_bert.py:747 in forward, code: pooled_output = self.activation(pooled_output)
tanh: "f32[1, 768]" = torch.ops.aten.tanh.default(linear_72);  linear_72 = None
return pytree.tree_unflatten((layer_norm_24, tanh), self._out_spec)

As you can see, the output tensors layer_norm_24 and tanh are passed to pytree.tree_unflatten to reconstruct the final output as the original output spec encapsulated in self._out_spec.

@jiwoong-choi Sorry for the delay. The graph_module.graph here is as follows
...
...
...
%layer_norm_24 : [num_users=2] = call_function[target=torch.ops.aten.layer_norm.default](args = (%add_25, [768], %encoder_layer_11_output_layer_norm_weight, %encoder_layer_11_output_layer_norm_bias, 1e-12), kwargs = {})
    %slice_5 : [num_users=1] = call_function[target=torch.ops.aten.slice.Tensor](args = (%layer_norm_24, 0, 0,<PHONE_NUMBER>854775807), kwargs = {})
    %select : [num_users=1] = call_function[target=torch.ops.aten.select.int](args = (%slice_5, 1, 0), kwargs = {})
    %linear_72 : [num_users=1] = call_function[target=torch.ops.aten.linear.default](args = (%select, %pooler_dense_weight, %pooler_dense_bias), kwargs = {})
    %tanh : [num_users=1] = call_function[target=torch.ops.aten.tanh.default](args = (%linear_72,), kwargs = {})
    return (layer_norm_24, tanh)

The outputs are passed to pytree.unflatten which constructs BaseModelOutputWithPoolingAndCrossAttentions. From TensorRT compilation point of view, we are interested until pytree.unflatten awhich returns a list of tensors. The unflattening part is left to Pytorch. The infer_module_types call is meant to deduce output types but the way it is currently doing is incorrect. Especially in the case you described, the kwarg inputs are not being passed correctly.
We are planning to refactor this function and compute output datatypes using output node metadata in the graph (node.meta["val"]). This way, we don't have to handle the nesting or custom objects. This refactor will be a part of https://github.com/pytorch/TensorRT/pull/3212. So, we can close this PR. Let me know if you have further questions.

We are planning to refactor this function and compute output datatypes using output node metadata in the graph (node.meta["val"]). This way, we don't have to handle the nesting or custom objects. This refactor will be a part of https://github.com/pytorch/TensorRT/pull/3212. So, we can close this PR. Let me know if you have further questions.

That sounds like the right way to go. I'm looking forward to the refactoring.


bumpversion crash when mercurial (hg) is not installed

Description
Bumpversion crashes when Mercurial is not installed (there's no command hg in $PATH).
How to reproduce
» bumpversion
Traceback (most recent call last):
  File "/home/dan/programs/python36-env/bin/bumpversion", line 11, in <module>
    sys.exit(main())
  File "/home/dan/programs/python36-env/lib/python3.6/site-packages/bumpversion/__init__.py", line 658, in main
    if vcs.is_usable():
  File "/home/dan/programs/python36-env/lib/python3.6/site-packages/bumpversion/__init__.py", line 83, in is_usable
    stdout=subprocess.PIPE
  File "/usr/lib64/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib64/python3.6/subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied

Expected behaviour
Bumpversion should continue with the next VCS backend. If no VCS is detected it should report this fact to the user.
Update: It only happens with python3. In python2, it works.

I encountered and fixed the same issue on my local system.  See #204 for a fix.
BTW.  I experienced this issue on Python 2.7 on Linux.

Since this repo seems to be no longer maintained; I submitted the same fix to the bump2version team over at https://github.com/c4urself/bump2version/.  Prior to this I didn't realize a fork had occurred.  Note that both are available as bumpversion on the CLI, so it's a drop-in replacement.
Hopefully this note saves someone else some time.


Update config for new chain id.

PR contains :-

Updated default.json.dist for chain 1406 and 1407.
Removed entry for chain 200 from default.json.dist.

I have also made the changes on faucet server for chain id 1406 and 1407.
Also, removed 200 chain id from faucet server's configuration.
Fixes #12

the default.json.dist in the repo only serves as an example. it doesnt really need to be updated. in #12 we only need to update the config on the server.
note that the expected ports currently would be 8646 for 1407 and 8647 for 1406 if you run ./mosaic ropsten 1407 1406
we have started a discussion on deterministic port numbers here https://app.zenhub.com/workspaces/-l3-5c6ac34d5977bf432a79b94d/issues/openst/mosaic-chains/53

closing this PR because the change is not needed


Error occurred while proxying request localhost:3000 to http://localhost:7000

My actions before raising this issue

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

I think the problem I encountering is different from this one #5605

Steps to Reproduce (for bugs)

Install OPA and pg, It's work.
Start python server with ALLOWED_HOSTS="*" IAM_OPA_BUNDLE="1" python manage.py runserver --noreload --insecure <IP_ADDRESS>:7000, It's work.
Fellowing the step above, I can access API http://localhost:7000/api/server/health/?format=json&org=

Start yarn start:cvat-ui and access http://localhost:3000/

Expected Behaviour
I have started the server and it can be accessed, but the UI still mistakenly. What is possible reason for the error.

Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

I change the listening IP with <IP_ADDRESS> for launching Python, but still got the same error. I am currently using m1 chip. later, i will switch to Ubuntu and try again.

This is very strange. I downgraded Nodejs from version 18 to version 16 and now it's work locally.
https://stackoverflow.com/questions/62482126/webpack-devserver-proxy-to-https-giving-error-occurred-while-trying-to-proxy-re/75057952#75057952
When I use Nodejs version 18 and access a remote Python backend, It can be accessed successfully. The Python backend start with docker-compose and command is docker compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.serverless.yml up -d. I have modified the API_URL="http://remoteIP:8080" in cvat-ui/package.json using Nodejs 18 start. It's work.

So, was the issue resolved for you?

Yes, I will close the issue. I think this is react issue, not cvat.


Can not get url in HttpFiltersSourceAdapter

Hi,
What I intend to do is to replace the response of a specific request with a local file. I tried this:
HttpProxyServer server=DefaultHttpProxyServer.bootstrap().withAllowLocalOnly(false).withPort(8080)
                .withFiltersSource(new HttpFiltersSourceAdapter()
                {
                    @Override
                    public HttpFilters filterRequest(HttpRequest originalRequest, ChannelHandlerContext ctx)
                    {
                        return new HttpFiltersAdapter(originalRequest)
                        {
                            @Override
                            public HttpResponse clientToProxyRequest(HttpObject httpObject)
                            {
                                if(httpObject instanceof HttpRequest)
                                {
                                    HttpRequest httpRequest=(HttpRequest)httpObject;
                                    logger.info("url: {}",httpRequest.getUri());
                                    if(httpRequest.getUri().contains("target.js"))
                                    {
                                        System.out.println("target filtered!");
                                        try
                                        {
                                            ByteBuf buffer=Unpooled.copiedBuffer(Files.readAllBytes(new File(this.getClass().getResource("replacer.js").getFile()).toPath()));
                                            return new DefaultFullHttpResponse(
                                                    HttpVersion.HTTP_1_1,
                                                    HttpResponseStatus.OK, buffer);
                                        }
                                        catch(Exception e)
                                        {
                                            e.printStackTrace();
                                            return new DefaultFullHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.BAD_REQUEST);
                                        }
                                    }
                                }
                                return null;
                            }
                        };
                    }
                })
                .start();

The strange thing is that the log output of this line " logger.info("url: {}",httpRequest.getUri());" never gets a full url. It only outputs "server:port" without any path. And the log count is far less compared with the request count the browser sends out. How can I achieve my target?

One more thing, the log only shows https requests(with port 443). nothing about normal http request.

Oh, I checked again and found the requests are actually https. So no problem here. Sorry.


QuotaReport from the python API takes a very (very) long time

Hi All,
I am using ontap-rest-python to query quota information from our NetAPP server.
I am basically just calling netapp_ontap.resources.QuotaReport.get_collection(type=type, max_records=500) with type=policy_usage and then type=users_quotas_users, and it takes about 0.1 seconds to read each quota record, which means that it will take me over an hour and a half to read the info for all our quotas.
Needless to say that the equivalent cli command, "volume quota report" takes only about 30 seconds to list all the quotas.
I googled up for similar issues and I can't find much. I did see somewhere that it was mentioned that the cause may be that the API actually queries the quota records one by one, so there are a lot of http requests being issues (and each as to be authenticated, etc.), but since I can no longer find that reference, I am not sure that this is the cause.
So is there something I can do to make the queries faster? Because otherwise this is really something you should fix
BR,
Oren

Hello,
Thank you for pointing out this issue. We've noticed similar performance issues with QuotaReport and other resources in the library and we've made changes to significantly improve the performance of get_collection that will be coming in the next release.
My guess is that most of the time is spent loading and validating the schema of the records returned by ONTAP. This is a limitation of the marshmallow library that we use to enforce the object schema. And marshmallow can be quite slow. To verify that the issue is in fact from the library and not from ONTAP REST API, try making the same request using curl, it should give you the results much faster than netapp_ontap.
Until we officially publish the performance improvement, you can use this workaround:

make the request using Python's requests library
Iterate through the response JSON as a python dictionary and pick the records you're interested in
convert the record(s) that you want to a QuotaReport object using from_dict
Continue working with the objects as needed

I hope this helps out.
-Noor

Hello,
The point of attempting this workaround (using Python requests, or curl) is to test if the performance issue is caused by ONTAP REST API, or if it's caused by the library.
My guess is that it's related to library because it does a lot of expensive serialization and deserialization of the objects in the response.
You won't be able to tell much of a difference in performance when getting a single instance of QuotaReport with or without the workaround because it's quick to serialize/deserialize a single records. But in your case where you're getting a collection of 500 reports at a time, it becomes more expensive to use the library. You will also need multiple requests to get any remaining reports more than 500.
What I'm suggesting is to do a single request without using the library (and without specifying max_records if you want everything). This will result in a response containing all the records that match your query. And the body will be in JSON format. You can then iterate through the response as simple python dictionary and convert any record to a netapp_ontap object using from_dict().

If so then how do I know which URL to fetch?

I'm not sure I understand this question. If you're looking for the URL that corresponds to the QuotaReport object, you can find it at the resources documentation page (you have to scroll down a bit). It's /api/storage/quota/reports. And if you're looking for the URL of a single instance of the report, then our REST API documentation page has that information. It's /storage/quota/reports/{volume.uuid}/{index}.
I hope this helps!
-Noor

Hi Noor,
So basically your'e telling me not to use the API at all, right?
Thanks
Oren
On Mon, Sep 25, 2023 at 11:11 PM Noor Buchi @.***>
wrote:

Hello,
Thank you for pointing out this issue. We've noticed similar performance
issues with QuotaReport and other resources in the library and we've made
changes to significantly improve the performance of get_collection that
will be coming in the next release.
My guess is that most of the time is spent loading and validating the
schema of the records returned by ONTAP. This is a limitation of the
marshmallow library that we use to enforce the object schema. And
marshmallow can be quite slow. To verify that the issue is in fact from the
library and not from ONTAP REST API, try making the same request using
curl, it should give you the results much faster than netapp_ontap.
Until we officially publish the performance improvement, you can use this
workaround:

make the request using Python's requests library
Iterate through the response JSON as a python dictionary and pick
the records you're interested in
convert the record(s) that you want to a QuotaReport object using
from_dict
Continue working with the objects as needed

I hope this helps out.
-Noor
—
Reply to this email directly, view it on GitHub
https://github.com/NetApp/ontap-rest-python/issues/44#issuecomment-1734394799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZMI7FLPAKQRBGM2JV5HQ73X4HQOHANCNFSM6AAAAAA4WH3WCQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm suggesting that you use try using the REST API without the netapp_ontap library to get 500 records or more. This will help us determine if the performance issue is related to ONTAP itself or related to the library.

Problem solved: I used the following command to fetch all the requested data quickly:
qurl = resource.get_collection_url(self.hc) + '?type=' + type + '&max_records=10000&fields=*'
query = requests.get(qurl, verify=False, auth=self.basic)

Where "resource" is either QuotaRule or QuotaReport


Consider renaming larger

Usually, we speak in terms of lower/greater and not lower/larger

Spec: https://github.com/CleverCloud/biscuit/commit/456549d82a59904783198711d4f405fa6c897ffc
Rust: https://github.com/CleverCloud/biscuit-rust/commit/01f1ba0f9a32304a68a3fe67d667d50d4eafff50

Spec: https://github.com/CleverCloud/biscuit/commit/456549d82a59904783198711d4f405fa6c897ffc
Rust: https://github.com/CleverCloud/biscuit-rust/commit/01f1ba0f9a32304a68a3fe67d667d50d4eafff50


sql database documentation typo

Removing of RS reduced count from four to three

@jabbera : Thanks for your contribution to the Azure documentation! The author, @CarlRabeler, has been notified to review your proposed change.

#sign-off


update dependencies to fix compilation with dmd-2.072.x

conflicting std.x.allocator dependency in libdparse got dropped
also fixes #134

I've tagged 0.15.16 and DUB/Travis currently re-runs the dmd-beta test.

Okay, DUB is green again!


Keyboard.Effects.Breathing does not have a constructor that takes one arguement

Corale.Colore.Razer.Keyboard.Effects.Breathing only accepts giving it two colors. Every other breathing constructor has an option to use just one color. While you can just use the same color twice this is inconsistent with the other options.

The EFFECT_BREATHING for keyboards in the SDK does not have a BreathingType that supports single color breathing (unlike some other devices like mice), so the constructor for Breathing on keyboard and the relevant helper methods on IKeyboard are simply following the SDK conventions.
A constructor that passes the same color to both parameters could be implemented but would be misleading as it doesn't represent an actual supported mode in the SDK.


Make the complete purchase request never redirect

We ran into problems when completing a purchase. The complete purchase response incorrectly marked as being a redirect.

Thanks. I guess  I never checked if the completeResponse was a redirect. Would it ever make sense to have a completePurchaseResponse that is a redirect?
But anyways, this is more correct indeed :)

You're welcome, and thank you too for making the library available :+1:
To be honest I am not sure if it would. Me and a colleague ran into this while implementing this Omnipay gateway using the OmnipayBridge that comes with Payum. The line that triggered the redirect can be found here.
In this project we will probably test some other payment methods as well, so will let you know if we run in to problems.


ja3p returns empty r.JA3

ja3p returns  JA3 hash -  d41d8cd98f00b204e9800998ecf8427e it's MD5 hash from null
Steps to reproduce

Generate a self-signed certificate localhost.crt
Build container docker build . -t ja3-proxy with Dockerfile

FROM golang:1.17 as builder
WORKDIR /src
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
    go build -o /bin/ja3p ./cmd

FROM scratch
COPY --from=builder /bin/ja3p /ja3p
COPY localhost.crt /app/
COPY localhost.key /app/
ENTRYPOINT [ "/ja3p" ]
CMD ["-c", "/app/localhost.crt", "-k", "/app/localhost.key", "-a", "<IP_ADDRESS>:8080"]

Run the container,

docker run -it -p 8080:8080  ja3-proxy

Test with

curl -k https://localhost:8080

or from various browsers as result always getting:
Access granted. JA3 hash: d41d8cd98f00b204e9800998ecf8427e

I also have the same problem. Has the problem been solved?


odb: refactor cpp tests

Some refactors to support subfolders for other projects inside cpp for odb (like scan) and also fixed clang-tidy warnings in the tests.

Hi @maliberty , are there any pending changes that I should take care in this PR? Thanks!


Added structure to the CHOOSE command and corrected 'quarter' to 'sea…

…son'

@chrgraefe : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.


Sysctl stopped loading .conf file.

Hello, I try to diasble IPv6 networking using this in the .conf file:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.tun.disable_ipv6 = 1
but for some reason it stopped loading it and I have to do it manually after every reboot. Any ideas why?

please attach your rc.log showing the system booting. make sure the sysctl init job is in there.

`rc boot logging started at Mon Apr  3 10:24:00 2023
auditd                    | * Starting auditd ...
apparmor                  | * Starting AppArmor ...
modules                   | * Loading module ashmem_linux ...
apparmor                  | *   Loading AppArmor profiles ...
modules                   |insmod /lib/modules/6.2.6-artix1-1/updates/ashmem_linux.ko.zst
[ ok ]
termencoding              | * Setting terminal encoding [UTF-8] ...
[ ok ]
modules                   | * Loading module binder_linux ...
auditd                    | * Loading audit rules from /etc/audit/audit.rules
modules                   |insmod /lib/modules/6.2.6-artix1-1/updates/binder_linux.ko.zst
[ ok ]
[ ok ]
modules                   | * Loading module ashmem_linux ...
modules                   |modprobe: ERROR: could not insert 'ashmem_linux': Module already in kernel
[ ok ]
modules                   | * Loading module binder_linux ...
modules                   |modprobe: ERROR: could not insert 'binder_linux': Module already in kernel
[ ok ]
modules                   | * Loading module crypto_user ...
[ ok ]
modules                   |insmod /lib/modules/6.2.6-artix1-1/kernel/crypto/crypto_user.ko.zst
[ ok ]
modules                   | * Loading module sg ...
modules                   |insmod /lib/modules/6.2.6-artix1-1/kernel/drivers/scsi/sg.ko.zst
[ ok ]
modules                   | * Loading module vboxdrv ...
modules                   |insmod /lib/modules/6.2.6-artix1-1/kernel/misc/vboxdrv.ko.zst
[ ok ]
modules                   | * Loading module vboxnetadp ...
modules                   |insmod /lib/modules/6.2.6-artix1-1/kernel/misc/vboxnetadp.ko.zst
[ ok ]
keymaps                   | * Setting keyboard mode [UTF-8] ...
modules                   | * Loading module vboxnetflt ...
modules                   |insmod /lib/modules/6.2.6-artix1-1/kernel/misc/vboxnetflt.ko.zst
[ ok ]
[ ok ]
keymaps                   | * Loading key mappings [us] ...
[ ok ]
hwclock                   | * Setting system clock using the hardware clock [UTC] ...
[ ok ]
procfs                    | * Mounting misc binary format filesystem ...
loopback                  | * Bringing up network interface lo ...
[ ok ]
fsck                      | * Checking local filesystems  ...
sysctl                    | * Configuring kernel parameters ...
[ ok ]
[ ok ]
[ ok ]
hostname                  | * Setting hostname to art from /etc/hostname ...
[ ok ]
binfmt                    | * Loading custom binary format handlers ...
[ ok ]
root                      | * Remounting filesystems ...
[ ok ]
swap                      | * Activating swap devices ...
[ ok ]
mtab                      | * Updating /etc/mtab ...
mtab                      | * Creating mtab symbolic link
[ ok ]
localmount                | * Mounting local filesystems ...
[ ok ]
opentmpfiles-setup        | * Setting up tmpfiles.d entries ...
seedrng                   | * Seeding random number generator ...
[ ok ]
opensysusers              | * Setting up sysusers.d entries ...
seedrng                   | * Seeding 256 bits and crediting
seedrng                   | * Saving 256 bits of creditable seed for next boot
bootmisc                  | * Creating user login records ...
[ ok ]
[ ok ]
bootmisc                  | * Wiping /tmp directory ...
[ ok ]
[ ok ]
dbus                      | * Starting dbus ...
consolefont               | * Setting console font [default8x16] ...
[ ok ]
save-keymaps              | * Saving key mapping ...
[ ok ]
save-termencoding         | * Saving terminal encoding ...
[ ok ]
net.lo                    | * Bringing up interface lo
net.lo                    | *   Caching network module dependencies
elogind                   | * Starting elogind ...
[ ok ]
[ ok ]
net.lo                    | *   <IP_ADDRESS>/8 ...
[ ok ]
net.lo                    | *   Adding routes
net.lo                    | *     <IP_ADDRESS>/8 via <IP_ADDRESS> ...
[ ok ]
[ ok ]
rc boot logging stopped at Mon Apr  3 10:24:00 2023
rc default logging started at Mon Apr  3 10:24:00 2023
amdfand                   | * Starting amdfand ...
amdgui-helper             | * Starting amdgui-helper ...
amdmond                   | * Starting amdmond ...
docker                    | * Starting docker ...
bluetoothd                | * Starting bluetoothd ...
syslog-ng                 | * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
portmaster                | * Starting portmaster ...
[ ok ]
[ ok ]
[ ok ]
[ ok ]
[ ok ]
NetworkManager            | * Starting NetworkManager ...
[ ok ]
[ ok ]
syslog-ng                 | * Starting syslog-ng ...
[ ok ]
acpid                     | * Starting acpid ...
[ ok ]
[ ok ]
NetworkManager            |Connecting.....              1sConnecting......             1sConnecting.......            1sConnecting........           1sConnecting.........          1sConnecting..........         1sConnecting...........        1sConnecting............       1sConnecting.............      1sConnecting..............     1sConnecting...............    1sConnecting...............    0s [offline]
NetworkManager            | * Marking NetworkManager as inactive. It will automatically be marked
NetworkManager            | * as started after a network connection has been established.
netmount                  | * WARNING: netmount will start when NetworkManager has started
NetworkManager            | * WARNING: NetworkManager has started, but is inactive
ntp-client                | * Setting clock via the NTP client 'ntpdate' ...
avahi-daemon              | * Starting avahi-daemon ...
sddm                      | * Starting sddm ...
ntp-client                |Exiting, name server cannot be used: Temporary failure in name resolution (-3) * Failed to set clock
[ ok ]
[ !! ]
ntp-client                | * ERROR: ntp-client failed to start
[ ok ]
cupsd                     | * Starting cupsd ...
cronie                    | * Starting cronie ...
[ ok ]
[ ok ]
clamd                     | * Starting clamd ...
agetty.tty5               | * agetty.tty5: waiting for clamd (50 seconds)
agetty.tty3               | * agetty.tty3: waiting for clamd (50 seconds)
agetty.tty6               | * agetty.tty6: waiting for clamd (50 seconds)
agetty.tty4               | * agetty.tty4: waiting for clamd (50 seconds)
agetty.tty2               | * agetty.tty2: waiting for clamd (50 seconds)
local                     | * local: waiting for clamd (50 seconds)
agetty.tty1               | * agetty.tty1: waiting for clamd (50 seconds)
[ ok ]
clamd                     | * Starting freshclam ...
[ ok ]
local                     | * Starting local ...
[ ok ]
`

you can run sudo sysctl --system to see what the tool is doing


How to install this w/out internet access to do gem install?

Do you have a way to install this w/out outbound network access?

See https://help.rubygems.org/kb/rubygems/installing-gems-with-no-network


[TUTORIAL] How to keep Repl alive when hosting on Replit

https://github.com/mak448a/AI-Drawing-ChatBot/pull/11#issuecomment-1560346791

Well replit is dead for hosting

Use pylex.


HTTP 500 when requesting data for anime

When I request data for the following anime I get HTTP 500 response code.
https://api.jikan.moe/v3/anime/37549
https://api.jikan.moe/v3/anime/32979
https://api.jikan.moe/v3/anime/35883/stats

Thanks for registering an issue, it's now resolved.

That was fast. Thx!


Fixing module name for installation

Description

Checklist

[x ] Documentation was updated if it was needed.

close reopen for CI

Codecov Report

Merging #16 (f2db973) into main (d98f9ff) will decrease coverage by 17.82%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #16       +/-   ##
===========================================
- Coverage   93.28%   75.46%   -17.82%
===========================================
  Files           6        6
  Lines         253      269       +16
===========================================
- Hits          236      203       -33
- Misses         17       66       +49

Flag
Coverage Δ

unittests
75.46% <ø> (-17.82%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes


feat: MVP1 development tasks.

MVP1 Task: https://github.com/goplus/community/issues/38

I will rebase commits later.

This PR have already moved to dev.


Feature Request: snap to container edge?

I'm trying to have an Adobe-style panel that snaps to the viewport edge. Basically, it's the containment option, but with an additional snapping behavior, with [x,y] proximity thresholds in pixels specified as you have now with grid. While I'm wishing, it would be useful if it fired an event (dock?), which could be used for later layout calcs. Thanks.

Thanks for this feature request. +1 this issue if you would see this feature added.

:+1:

:+1:

While it's a nice feature, it's actually pretty easy to implement yourself. Managed to get this working with ~15 lines of code (on the X axis only; Y axis should be similar).

@edu2004eu Could you share those ~15 lines of code so people who have this issue can get some help?


[Bug]: SSL certificates not generating

What happened?
The SSL certificates are simply not generating. I cannot access the webpage through the local IP nor my domain, it's been a few hours since I even tried restarting the machine. The docker container seems to be working as seen here:

But chrome says there's a problem with the SSL certificate

Operating System
Linux
Relevant log output
javierdz@javierdz-server:~/blogo-2.1.4$ sudo docker compose up -d
[+] Running 2/2
 ✔ Container blogo  Started                                                                    0.0s
 ✔ Container caddy  Running                                                                    0.0s

Code of Conduct

[X] I have searched for simmilar issues
[X] I am sure my issue is related to blogo
[X] I have searched for the error message on the internet

The SSL itself is not issue with blogo but with caddy. But the site not being accessible is quite weird, can you show your docker-compose.yml?
It would also help if you could tell what exact operating system do you have and if you have latest version of docker.

You are trying to generate an SSL certificate with a local IP, which is not possible with Let's Encrypt. Most probably your coputer has pots 80 and 443 closed (your router won't have them open and mapped by default). If you want to generate a local certificate, just change your domain to blogo.localhost and caddy will automatically generate a self-signed SSL certificate.
Also, the compose you took from the Wiki has no ports mapped with the host, if you want to connect via IP you should add this to the blogo service in the compose file:
ports:
   - 3000:3000

as @ItsRaelx said, this issue is not related with blogo, it is related most probably with a bad setup for selfhosting with a domain. I'm closing the issue, but feel free to keep the discussion.

Can you share the caddy logs? You can see them with:
docker compose logs -f caddy

I just found the issue, the wiki's docker-compose.yml file was lacking the caddy network in the blogo service. It's now fixed. To fix your issue, please add the caddy network to the service and restart the containers:
services:
[...]
    blogo:
        [...]
        networks:
            - caddy
[...]

You can see the complete compose specification in: https://github.com/pluja/blogo/wiki/Hosting-on-your-domain-with-HTTPS#step-2-prepare-the-environment

nah, getting the same result. You can check my docker-compose.yml here:
services:
  caddy:
    image: lucaslorentz/caddy-docker-proxy:latest
    container_name: caddy
    ports:
      - "80:80"
      - "443:443"
    networks:
      - caddy
    restart: unless-stopped
    volumes:
      - caddy_data:/data
      - /var/run/docker.sock:/var/run/docker.sock:ro

  blogo:
    image: pluja/blogo:latest
    container_name: blogo
    restart: unless-stopped
    volumes:
      - ./articles:/app/articles
    environment:
      # CONFIG
      BLOGO_TITLE: Javierdz | Blog
      BLOGO_DESCRIPTION: Javierdz's blog
      BLOGO_KEYWORDS: blog,open source
      BLOGO_URL: blog.javierdz.xyz
      #BLOGO_ANALYTICS: '<script defer src="https://my.analytics.site/script.js"></script>'
      TIMEZONE: UTC

      # NOSTR CONFIG
      PUBLISH_TO_NOSTR: false
      #NOSTR_NSEC: ""
      #NOSTR_RELAYS: "wss://nostr-pub.wellorder.net,wss://relay.damus.io,wss://relay.nostr.band"

    labels:
      caddy: blog.javierdz.xyz
      caddy.reverse_proxy: "{{upstreams 3000}}"

    networks:
      - caddy

networks:
  caddy:
    name: caddy

volumes:
  caddy_data:

I assume you restarted everything. Is so, please provide the caddy logs or otherwise it is very difficult to debug. Other checks:

Your domain is pointing to your server's public IP address.
Your server has ports 80 and 443 open.

Ye, it has the ports open and the cloudflare dns records are pointing to the public ip. I cannot send any logs, wait for a few hours, I'm at school.

@pluja Should  BLOGO_URL be blog.javierdz.xyz? not http://blog.javierdz.xyz:80 or https://blog.javierdz.xyz:443?

Adding the schema should be the correct way, but this variable is only used for building the RSS and Atom feeds links, so this shouldn't affect the app itself

I already tried to reinstall it and I get the same result

why was this closed? was this resolved?

@GreenArrowlol this is a issue with caddy/docker-compose.yml not blogo.


[AM-3.0.0] API security level cannot update after only selecting Mutual SSL Mandatory security scheme.

When Mutual SSL mandatory option is selected without any transport-level scheme for an API, a user can't enable/disable application-level/transport-level security scheme by editing the API.
Steps to Reproduce

Create an API by enabling only Mutual SSL mandatory security scheme from the publisher.
Save API.
Again edit the API and try to add application-level security and save. There is an error stating subscription tiers are not available.

Hi @Dumindu-Kanchana
Thanks for reporting this issue, We were able to reproduce this issue and accept that this is a valid scenario. We will fix this in the next release.
Thanks

In an offline chat had with @sanjeewa-malalgoda , We discussed to remove the validation happens when updating the Bussiness plans (subscription tiers) in the Publisher portal.
So API developers (in Publisher portal) will able to choose business plans for their APIs even the Oauth2 security schema is not enabled for that API
@tharindu1st , @malinthaprasan can you please give your opinion on this ?

Similar issue is tracked in https://github.com/wso2/product-apim/issues/7486. Closing as duplicated.


Add 6th batch of SQL reference content

What are you changing in this pull request and why?
Adds SQL data types, BETWEEN operator, ILIKE operator, and FROM statement to the SQL reference directory
Adding new pages (delete if not applicable):

[ x ] Add page to website/sidebars.js
[ x ] Provide a unique filename for the new page

Reviewed, everything looks good! Just need a ✅  whenever you have the chance!


Add embedded Scoop manifest

This PR uses a Gorelease feature to create a scoop manifest after release. Once merged and after the first release, one can install talhelper by running
scoop bucket add budimanjojo https://github.com/budimanjojo/talhelper.git
scoop install talhelper

As soon as the first Windows release is available as an asset, we can also try to get it added to the Main scoop bucket. But as it does not matches the criteria yet, we'll probably need to add it to the Extras bucket where there's a big backlog of PRs and the steps to install it are not much different than just using the manifest inside the talhelper repo.

Can you squash all the commits into one? :D

500 stars and 150 forks is a long way to go hahaha

Can you squash all the commits into one? :D

Check! 👌

Thanks!


Don't Merge! PR real time test for target branch full build

Docs Build status updates of commit fb8522e:
:clock10: Pending: waiting for processors (12 builds ahead of you)
:warning: Docs Build is busy, currently there are 12 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit fb8522e:
:clock10: Full build: the average full build time is 7 min(s) 28 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit fb8522e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


chore: upgrade charts

updated chart jx3/jx-build-controller from 0.0.28 to 0.0.31
updated chart jx3/jx-pipelines-visualizer from 1.1.6 to 1.1.8

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign macox
You can assign the PR to them by writing /assign @macox in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
99fd0d7eb98f102c519339bc958f9fbdab8549b2
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
99fd0d7eb98f102c519339bc958f9fbdab8549b2
link
/test gsm

tls
99fd0d7eb98f102c519339bc958f9fbdab8549b2
link
/test tls

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


llvm optimizer error

I got one bitcode ll using mcsema tool and want to optimize it.
the error is as below. I failed to understand what is the entitiy of "llvm-link"
opt -debug-pass=Arguments -data-sections=1 -function-sections=1  -f -S sm.ll -o sm.llopt: sm.ll:1:1: error: expected top-level entity
source_filename = "llvm-link"

opt works on compiled bitcode (.bc) not text-based LLVM IR. Compile your IR using llvm-as and then run opt. Make sure you use the same version of the LLVM tools as your bitcode. For example, if you used mcsema-lift-4.0, use opt-4.0, llvm-as-4.0, etc.


http://www.qtpylib.io/ not accessible - documentation offline ?  [BUG]

Describe the bug
I just tried jumping to the full documentation.
I get a timeout for the link to "Full Documentation »" at the URL www.qtpylib.io
It says "The connection has timed out."
Has the website been taken down?
Thank you.
Richard

Looks like this has been solved. @richlysakowski can you confirm?


Out of bounds prevention enhancement

I changed line 45 of SearchableEnumDrawer to the following:
            GUIContent buttonText = null;
            if (property.enumValueIndex < 0 || property.enumValueIndex >= property.enumDisplayNames.Length) {
                buttonText = new GUIContent(property.enumValueIndex.ToString());
            }
            else {
                buttonText = new GUIContent(property.enumDisplayNames[property.enumValueIndex]);
            }

to prevent errors when an enum is shrunk or changed beyond bounds as happened to me during development.

Thanks for pointing this out! If you want to make a pull request I will merge it in, otherwise I can make the change myself.

fixed!


Pathfinder SYCL and numba-dpex implementation.

[x] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[x] Have you made sure that new changes do not introduce compiler warnings?
[x] If this PR is a work in progress, are you filing the PR as a draft?

Added the rodinia benchmark suite for dpbench/benchmarks. Also includes the native sycl, numba_dpex and python implementation for all algorithms.
Blocked by: https://github.com/IntelPython/numba-dpex/issues/1106

Closing this PR. Please reopen if there are further updates.


Would it be possible to provide the training scripts?

Thanks for this great resource!
Would it be possible to provide the training scripts?

Unfortunately, the training itself was done by Sampo in a CSC cluster (in Finland).
If it helps, it was trained with the standard code in google's official BERT repo, nothing special there (standard params, 1M steps, etc).
We're working on an new transformer model that we're training it in-house, for that I hope we'll be able to put the training code up.


Update README.md

Checkmarx AST – Scan Summary & Details – 6251121f-0fa9-4224-aa08-64a838e422db
No New Or Fixed Issues Found


Update Compiler-Options.md

Add a clarification that --stripInternal looks for annotations in comments, not a @internal decorator

thanks!
you do not happen to use this feature do you?

Yes, I am investigating using it for Angular. Right now we use a convention
of an underscore prefix on our internal methods, and use our custom doc
generator to make our bundled .d.ts. Wes is helping me try out the new
node-style typings loader so we could use compiler-generated .d.ts files in
our distro - but I need feature parity.
On Thu, Oct 1, 2015 at 4:49 PM Mohamed Hegazy<EMAIL_ADDRESS>wrote:

Merged #34 https://github.com/Microsoft/TypeScript-wiki/pull/34.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript-wiki/pull/34#event-424812332.

keep in mind, this an undocumented hack for the time being. we could be breaking this in the future.

Not exactly undocumented, just experimental :) Now you can't take away our
cookie!
On Thu, Oct 1, 2015 at 5:37 PM Mohamed Hegazy<EMAIL_ADDRESS>wrote:

keep in mind, this an undocumented hack for the time being. we could be
breaking this in the future.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript-wiki/pull/34#issuecomment-144885937
.

:cookie:


addEventListener is not defined

When upgrading to layer-websdk 3.2.1 from 3.0.0 I started to get this error on my builds.
ReferenceError: addEventListener is not defined
    at Object.<anonymous> (/Users/johnny.guillen/dev/projects/hac-messenger/node_modules/layer-websdk/lib/client-utils.js:189:1)

it looks like if failing on this block of code:
addEventListener('message', function (event) {
  if (event.data.type !== 'layer-set-immediate') return;
  setImmediateProcessor();
});

It looks like our webpack bundler fails whenever we encounter this line.
@michaelkantor any ideas?

https://github.com/layerhq/layer-websdk/blob/master/src/client-utils.js#L176

Is this a webpack only issue, or are you building a React Native build?
If its React Native, we have fixes coming for that in our next patch release.
My webpack build  does not show this error; can you try and replace addEventListener with global. addEventListener and see if that makes the problem go away?  Not really clear what the issue here is if its not React Native related.
Michael

@michaelkantor it's a webpack build for browser. If it isn't happening for you, I have a bad feeling it might have to do with "use strict" being defined somewhere in our build in which case, the global/window object wouldn't be inferred. I know we tried adding document.addEventListener earlier today and it was ok at build-time (but I imagine that would fail at runtime because the event isn't likely fired on document). Will check in with further info soon.

global === window; these are the same (except in react native)
So just try global.addEventListener and see if it compiles.  If so, I'll run some validation on my end and ship it.
I'm trying to ship an update tonight, but will wait for mid morning tomorrow so you can report back.  Otherwise, this fix will wait for the patch release after next.
Michael

Sure, I understand they are the same concept, but this is a webpack build targeting browser, AFAIK the global object exists in the Node runtime, but browser side is represented by window. global is going to be undefined in browsers. @jguillen1984 is checking it out.

Just to clarify: global is defined by browserify/webpack within the context of your module definition.  Your module gets wrapped in a function at build time, and global is inserted into that function scoped to be visible to all code within your module.

@michaelkantor - So we are unable to reproduce the issue using a simple webpack bundle. We are investigating the issue further on our end to determine what in our build pipeline could be causing this.

Update
Still haven't found an issue in our build pipeline. Continuing to dig deeper.
I was able to get it to compile by wrapping the code with if (window) { addEventListener(.... }.  I also attempted to use global.addEventListener and window.addEventListener, but both failed for me.
A side note is that after trying 3.2.3 it now fails on https://github.com/layerhq/layer-websdk/blob/master/src/client-utils.js#L9. I tried both import layer from 'layer-websdk' and import layer from 'layer-websdk/index-es6' with the same results.
We are running currently node 6.9.2 and webpack 2.5.0 with webpack-dev-server

We'll continue to iterate on this.  But there's a lot of guesswork involved.  global.addEventListener should work, can you show the errors you get from it?

/Users/johnny.guillen/dev/projects/hac-messenger/node_modules/layer-websdk/lib/client-utils.js:189
global.addEventListener('message', function (event) {
       ^

TypeError: global.addEventListener is not a function
    at Object.<anonymous> (/Users/johnny.guillen/dev/projects/hac-messenger/node_modules/layer-websdk/lib/client-utils.js:189:8)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Function.cls_wrapMethod [as _load] (/Users/johnny.guillen/dev/projects/hac-messenger/node_modules/newrelic/lib/shimmer.js:256:38)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/johnny.guillen/dev/projects/hac-messenger/node_modules/layer-websdk/lib/root.js:15:13)
    at Module._compile (module.js:570:32)
5 May 15:20:18 - [nodemon] app crashed - waiting for file changes before starting..

Ok. I would like to resolve this. But the back and forth on this is liable to kill us...
Can you setup a barebones github or zip project that replicates this?  I expect this would ultimately be easier on both of us.  If not, we'll keep going as-is.  For the problems your seeing, you can use fake app-ids, and leave out any kind of credentials, UI, etc...  We just need something that gets built not run (and which fails to get built).

Totally agree. We will attempt to produce a minimal repro. Since it doesn't occur in a naive sample, we wouldn't expect you to change anything until we know what is wrong.

Closing this for now.  Reopen this if there's anything I can do to help.

@michaelkantor - ok so I was able to get this to work for our build.
I upgraded layer-websdk to v3.3.2, then I tried to build my project and got an error on global.getNativeSupport('atob') is undefined https://github.com/layerhq/layer-websdk/blob/master/src/client-utils.js#L9
In node the library atob does not exist so it was returning "undefined", which in turn tried to call global.getNativeSupport and that function was not part of the global scope.  I then noticed that you added this to your react-native build in the global scope. So I dug into node_modules folder for layer-websdk and did the same for the index.js file and it all works :tada:.
here's what that looks like now:
/* istanbul ignore next */
if (global.layer && global.layer.Client) {
  console.error('ERROR: It appears that you have multiple copies of the Layer WebSDK in your build!');
} else {
  global.getNativeSupport = function(module) {
      switch(module) {
        case 'atob':
          return function(b64Str) {
            let byteArray = base64JS.toByteArray(b64Str);
            let strArray = [];
            for (let i=0, l=byteArray.length; i<l; i++) {
              strArray[i] = String.fromCharCode(byteArray[i]);
            }
            return strArray.join('');
          }
        case 'btoa':
          return function(str) {
            let arr = str.split("").map((val) => {
              return val.charCodeAt(0);
            });
            return base64JS.fromByteArray(arr);
          }
        case 'setImmediate':
          // Globally defined by RN environment
          return setImmediate;
        case 'OnlineEvents':
          return NetInfo;
      }
  };
  global.layer = require('./lib/layer');
}
module.exports = global.layer;


Fix all file names to the correct structure

I am about to fix all file names in folders to this structure [(your-word)_(parts-of-speech)].json.
My script will merge new and existing file into one file with correct file name.

Since the relevant PR seems to fail on Travis and there are a lot of conflicts (eg. Abandon (with part of speech verb), as well as Abandon_verb both, are present etc.), it can be done carefully one at a time. Started this off with a new PR :smile:


[SPARK-16063][SQL] Add storageLevel to Dataset

SPARK-11905 added support for persist/cache for Dataset. However, there is no user-facing API to check if a Dataset is cached and if so what the storage level is. This PR adds getStorageLevel to Dataset, analogous to RDD.getStorageLevel.
How was this patch tested?
Updated DatasetCacheSuite.

Test build #60843 has finished for PR 13780 at commit 90684bd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60843/
Test PASSed.

Merged build finished. Test PASSed.

Overall LGTM, just one minor comment about the test case. BTW, maybe you can change the PR title after you updating the function name? Thanks!

Can you make sure Python Dataframe has this method too?

Test build #60922 has started for PR 13780 at commit 93af5ec.

just some minor comments. this looks pretty good

Test build #60922 has finished for PR 13780 at commit 93af5ec.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60922/
Test PASSed.

Test build #60925 has started for PR 13780 at commit cfe9ab7.

Test build #60925 has finished for PR 13780 at commit cfe9ab7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60925/
Test PASSed.

ping @rxin

ping @rxin @marmbrus @davies @gatorsmile for comment on the Python storage level issue I mention at https://github.com/apache/spark/pull/13780#discussion_r67833027

so just following up because I know there is some other loosely blocked on this. Do @rxin @marmbrus @davies @gatorsmile have any comments?

Sorry for the delay.  I'm going to merge this to master.  I'll update the since versions while merging.  Thanks for working on this!

@marmbrus thanks for merging this. For me there is still an open question around handling of deser storage levels on the PySpark side (see my comments https://github.com/apache/spark/pull/13780/files#r67833027). Would like to get your thoughts on that.
What is blocked on this by the way? (Just to understand).


Added polylabel to manual

Coverage remained the same at 80.695% when pulling 0d505fe7bdf9216065e65e7d3030210efcf290a5 on snorfalorpagus:polylabel-docs into 60be3f8b19506efa62a713f68707ad4e9c48beac on Toblerity:master.

Coverage remained the same at 80.695% when pulling 0d505fe7bdf9216065e65e7d3030210efcf290a5 on snorfalorpagus:polylabel-docs into 60be3f8b19506efa62a713f68707ad4e9c48beac on Toblerity:master.

Coverage remained the same at 80.695% when pulling 0d505fe7bdf9216065e65e7d3030210efcf290a5 on snorfalorpagus:polylabel-docs into 60be3f8b19506efa62a713f68707ad4e9c48beac on Toblerity:master.

Coverage remained the same at 80.695% when pulling 0d505fe7bdf9216065e65e7d3030210efcf290a5 on snorfalorpagus:polylabel-docs into 60be3f8b19506efa62a713f68707ad4e9c48beac on Toblerity:master.

Coverage remained the same at 80.695% when pulling 0d505fe7bdf9216065e65e7d3030210efcf290a5 on snorfalorpagus:polylabel-docs into 60be3f8b19506efa62a713f68707ad4e9c48beac on Toblerity:master.


formData updated only partially on edit

Follow up on #22
When data is manually entered into the form (regardless of whether there was initial formData), the state of the pagination wrapper's formData is updated properly, but it shows strange prop values (e.g. portions of what was typed in the field).

@zboldyga Can you give an example for this? I can't reproduce this.

I'll close it, since there is no feedback for this


New version: Google.Chrome.Canary version 101.0.4945.0

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 422
Microsoft Reviewers: Open in CodeFlow

/azp run


Login button

Make the login/recover button act similar to this: https://consumer-client.onrender.com/

Login button has been added in #12


Shared memory error.

Environment

OS:
Node version:v19.7.0
gtop version: v1.1.3

Description
I use alacritty console. When I  type gtop and run it, it seems every go well but shared memory growth fast.Then the computer will crash. If I type "Ctrl + c", before the computer go dead and I will get a message as the following:
❯ gtop

Error on alacritty.plab_norm:
"%t;7%;%?%p4%t;5%;%?%p7%t;8%;m"

var v,
 stack = [],
 out = [];
) {out.push(";
7")};
if ((stack.push(v = params[3]),
 v)) {out.push(";
5")};
if ((stack.push(v = params[6]),
 v)) {out.push(";
8")}out.push("m");
return out.join("");

Sorry, I forget add the information: OS is arch linux with dwm.


Ignore node_modules on Git

The PR title speaks by itself.

Pull Request Test Coverage Report for Build 72

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.617%

Totals

Change from base Build 70:
0.0%

Covered Lines:
27

Relevant Lines:
28

💛  - Coveralls


Docs - Fix typo in Sorting section

Using const auto &...  for the arguments doesn't work because the entt::entity overload has priority over the component (in this case, renderable) overload.
https://github.com/skypjack/entt/issues/535#issuecomment-667853342

Good catch. Thanks! 👍


[WIP][vtk] add the option -DModule_vtkGUISupportMFC=ON

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: MouhammadEV sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR!
When I build vtk in this PR for x64-windows or x64-windows-static, I get the following error:

C:\vsts_work\1\s\buildtrees\vtk\src\v8.1.0-3e8db5da7b\GUISupport\MFC\vtkMFCWindow.cpp(195): error C2661: 'vtkOpenGLRenderWindow::GetPixelData': no overloaded function takes 5 arguments

This is with the latest VS2017.
Could you take a look at this or confirm that it doesn't repro for you? You may also want to purge the buildtrees\vtk\ directory just to make sure you're working from clean sources.

Yes .. I got also this error while trying to compile the vtk library.
However this problem was solved in the new version (v8.1.2). So I think the portfile of the vtk library should  be edited to be able to download the new version.

I definitely can't merge this without vcpkg install vtk building cleanly; I think this means we need to wait on this PR until 8.2.0 is fully released.

Any progress on this ? Thanks!

vtk had been updated in vcpkg to 8.2.0, Resolved merge conflict.


documentation request: webhook samples

Is your feature request related to a problem? Please describe.
The project dialogflow-fulfillment is now deprecated, however it's still used in the default inline function when creating a webhook, and there is no clear recommendation to migrate from this library. nodejs-dialogflow seems to expose classes that would be useful to implement a webhook for fulfillment (WebhookRequest and WebhookResponse), but there are no examples showing how to leverage them.
Describe the solution you'd like
Adding samples to showcase how this library can be used for fulfillment would be useful.

@olivoil — Thank you for filing this issue. We are going to carefully consider this feature request for updates to the dialogflow samples and documentation. In the mean time, please check out this tutorial.

Closing this issue.


Use PyMISP instead of ExpandedPyMISP

ExpandedPyMISP has superseded PyMISP and has been renamed

The alias ExpandedPyMISP throws deprecation errors at this point

blind change, still needs to see if it completely fixes the issue, as @ufosmuggler pointed out in the chat, from pymisp import * might still lead to deprecation warnings om script.py

See more about the discussion on MISP/Support on gitter

Thank you for the update and change. Will have a look in the Gitter conversation shortly.

Cheers, there are some more questions over there in regards to misp2sentinel if you are having a lot of downtime (sorry, bad joke :))

Thankyou for the update. The script now runs without any error but, I don't see any data forwarded to Sentinel. Is there any particular log file that captures error while running the script.py file ?

I was able to find the log file and it says the indicators sent to Microsoft Graph security as below  but, I don't see any indicators in Sentinel --------
2024-07-02 19:18:27,196 - misp2sentinel - INFO - Sending security indicators to Microsoft Graph Security
2024-07-02 19:18:27,196 - misp2sentinel - INFO - 2206 indicators are parsed from MISP events. Only those that do not exist in Microsoft Graph Security will be sent.
2024-07-02 19:18:27,201 - misp2sentinel - INFO - Script finished running
2024-07-02 19:18:27,201 - misp2sentinel - INFO - Total indicators sent:      417
2024-07-02 19:18:27,201 - misp2sentinel - INFO - Total response success:     417
2024-07-02 19:18:27,201 - misp2sentinel - INFO - Total response error:         0
2024-07-02 19:18:27,201 - misp2sentinel - INFO - Total indicators deleted:     0
2024-07-02 19:18:27,202 - misp2sentinel - INFO - End MISP2Sentinel
2024-07-02 19:31:10,199 - misp2sentinel - INFO - Start MISP2Sentinel
2024-07-02 19:31:10,199 - misp2sentinel - INFO - Fetching and parsing data from MISP ...
2024-07-02 19:31:10,200 - misp2sentinel - INFO - Using Microsoft Graph API
2024-07-02 19:31:11,033 - misp2sentinel - INFO - Sending security indicators to Microsoft Graph Security
2024-07-02 19:31:11,033 - misp2sentinel - INFO - 2206 indicators are parsed from MISP events. Only those that do not exist in Microsoft Graph Security will be sent.
2024-07-02 19:31:11,038 - misp2sentinel - INFO - Script finished running

Hello @rahulb123acc , can you use this Kusto query to check if there are new indicators in Sentinel?
Kusto ThreatIntelligenceIndicator
| sort by TimeGenerated desc

Hi @cudeso
Thanks for the response.
I did run the query in azure log analytic workspace but, I don't see any data from MISP.
Note: I have data from other threat intel sources feeding in to same table

Hello,
I'm able to now upload the data to sentinel.
The issue was related to SSL communication failing toward the below endpoints while uploading data to sentinel
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sentinelus.azure-api.net', port=443): Max retries exceeded with url: /551840fc-9571-4acb-8de9-96f1c63909fd/threatintelligence:upload-indicators?api-version=2022-07-01 (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))
Regards,
Rahul

Hi, I guess this is then related to a proxy blocking/intercepting the request?

yes! the communication to the endpoint - "sentinelus.azure-api.net" on port 443 was blocked at firewall level

@rahulb123acc good; I'll also add a list of domains that need whitelisting to the documentation; started tracking them in https://github.com/cudeso/misp2sentinel/issues/99


fix: fix download button background by using different naive-ui nuxt module

Migrate from huntersofbook/naive-ui-nuxt to becem-gharbi/nuxt-naiveu. Mainly because it fixes the problem with the background of the download button, but also because it seems to be more mature and plans to extend beyond being a simple nuxt wrapper (see https://github.com/becem-gharbi/nuxt-naiveui/issues/9).

Looks better now


Route to delete goal

create a route to delete a goal that is no longer needed, or not achievable.

please assign this to me


Add links to similar projects

Please update the README of this repo with links to the following similar resources:

https://en.wikipedia.org/wiki/Comparison_of_instant_messaging_clients
https://www.messenger-matrix.de/messenger-matrix-en.html
https://docs.google.com/spreadsheets/d/1-UlA4-tslROBDS9IqHalWVztqZo7uxlCeKPQ-8uoFOU/edit#gid=0
https://media.defense.gov/2020/Aug/14/2002477670/-1/-1/0/CSI_ SELECTING_AND_USING_COLLABORATION_SERVICES_SECURELY_SHORT_20200814.PDF

https://eylenburg.github.io/im_comparison.htm
All https://www.freie-messenger.de/en/systemvergleich/externe_vergleiche/#english-comparisons
https://www.freie-messenger.de/en/systemvergleich/


Fix typo in pull request template

What happened?

Chnage 2 -> Change 2
I would like to work on this as a part of GSSoC 23.
How can we reproduce this bug?
Check pulll_request_template.md
Desktop Information (Optional)
No response
Urgency (Optional)
None

Too easy issue


feat: track hbar expenses for submit tx

Description:
This PR modifies submit transaction logic to account for hbar expenses. Previously we didn't track operator expenses for ethereum transactions. This PR is using executeGetTransactionRecord method, which takes the record and deduct the cost from the budget.
Related issue(s):
Fixes #2703
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Replaced by https://github.com/hashgraph/hedera-json-rpc-relay/pull/2714


A lot of error notifications

How to get rid of them?
Can I disable notifications at least? How?
Linux fedora 38
Net 7.0.11
Project: F# mvc
Ionide 7.15.0
C# 2.7.25
Install Tool 1.8.1
Vscode 1.82.1

@ildar-shaymukhametov Thanks for reporting the issue, but unfortunately I can't repro the issue locally, either on Windows or Ubuntu (WSL). Would it be possible for you to include the full text of the output window here? Even better, if you could set the razor.trace setting to Verbose and include both the C# and Razor Log from the output that would be even better.

I reloaded and it is ok for now
Do not close the issue: if I encounter the problem again, I will write about it here

Believe it or not, that's actually useful information, so thanks for following up.


Add information on bodyMode to the README

I've had issues with binding of tooltips to dynamic content in one of my projects for a while now, and was using the method suggested in the README of calling ReactTooltip.rebuild() whenever the content changed, which was causing performance issues. Someone I was working with found out about the existence of bodyMode by digging through the codebase, and after trying it out I found that it basically solved my problem in one fell swoop.
It'd be great if the README included information on what this option does, its ideal use cases, and why it isn't the default mode, but at the very least I think it ought to be listed under the options and mentioned in the "Tooltip not binding to dynamic content" section.
Thanks!

Hi @ycz, can you do a PR, please?
Thanks!


Move more configuration options in the configuration file

We now use a JSON-formatted configuration file (mounted from a ConfigMap) for some configuration options. We should move some options from environment variables to the configuration file.

Not relevant anymore.


Linter

Hi
Do you have any plans to incorporate a code linter into conjure ?
If so which tool are you considering ?
Cheers

I'm afraid not, no. I don't consider that part of Conjure's domain, Conjure is all about inspecting and evaluating your code, linting is a static process that happens outside of the runtime of your project.
I do however highly recommend ale with clj-kondo and joker. I use this combination of tools and it works great!
My ale config looks like this:
let g:ale_linters = {
      \ 'javascript': ['standard'],
      \ 'clojure': ['clj-kondo', 'joker']
      \}

Thanks for the steer. I’ll give it a go.
--
The Continium
On 21 October 2019 at 19:11:51, Oliver Caldwell (notifications<EMAIL_ADDRESS>wrote:
I'm afraid not, no. I don't consider that part of Conjure's domain, Conjure is all about inspecting and evaluating your code, linting is a static process that happens outside of the runtime of your project.
I do however highly recommend alehttps://github.com/dense-analysis/ale with clj-kondohttps://github.com/borkdude/clj-kondo and jokerhttps://github.com/candid82/joker. I use this combination of tools and it works great!
My ale config looks like this:
let g:ale_linters = {
\ 'javascript': ['standard'],
\ 'clojure': ['clj-kondo', 'joker']
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Olical/conjure/issues/68?email_source=notifications&email_token=ACHXEBXVWFSPYGS3ZY3BZG3QPWE7PA5CNFSM4JC3TH22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBZ6P7Y#issuecomment-544466943, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHXEBVQDQKYMJIVQBZ33C3QPWE7PANCNFSM4JC3TH2Q.

for those that use Neomake here is a simple setup:
call neomake#configure#automake('nrw')

let g:neomake_joker_maker = {
		\ 'exe': 'joker',
		\ 'args': ['--lint'],
		\ 'errorformat': '%f:%l:%c: %*[^ ] %t%*[^:]: %m',
		\ }

let g:neomake_cljkondo_maker = {
		\ 'exe': 'clj-kondo',
		\ 'args': ['--lint'],
		\ 'errorformat': '%f:%l:%c:\ Parse\ %t%*[^:]:\ %m,%f:%l:%c:\ %t%*[^:]:\ %m',
		\ }

let g:neomake_clojure_enabled_makers = ['joker', 'cljkondo']


[BUG] apply PodMonitoring | timeout=10s": context deadline exceeded - GKE autopilot

kubectl -n gmp-test apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/prometheus-engine/v0.3.1/examples/pod-monitoring.yaml

Error from server (InternalError): error when creating "https://raw.githubusercontent.com/GoogleCloudPlatform/prometheus-engine/v0.3.1/examples/pod-monitoring.yaml": Internal error occurred: failed calling webhook "default.podmonitorings.gmp-operator.gmp-system.monitoring.googleapis.com": Post "https://gmp-operator.gmp-system.svc:8443/default/monitoring.googleapis.com/v1alpha1/podmonitorings?timeout=10s": context deadline exceeded

Hello,
All PodMonitoring CRs are checked with a validating webhook that is hosted in the operator pod. A few questions:

Is the operator pod running without errors?
Do you have a firewall rule preventing the control plane from talking to the operator pod?

Hello , yes the operator pod is running without error
I do not have any firewall rule
my gke is a GKE auto pilot and there is nothing custom installed inside
and I jus followed this instructions -> https://github.com/GoogleCloudPlatform/prometheus-engine/issues/148#issuecomment-1055599211

There was a similar issue at GoogleCloudPlatform/prometheus-engine#178.
Could you try the instructions from the last comment to see if that helps?

I'm seeing something similar when trying to update the PodMonitoring resources in our GKE cluster. The result of this command:

kubectl get deploy gmp-operator -ngmp-system -ojsonpath="{.spec.template.metadata.annotations['components.gke.io/component-version']}"

is 0.2.9
When trying to run:
kubectl apply -f pod-monitoring.yaml,
I get the following error message:

Error from server (InternalError): error when creating "pod-monitoring.yaml": Internal error occurred: failed calling webhook "default.podmonitorings.gmp-operator.gmp-system.monitoring.googleapis.com": failed to call webhook: Post "https://gmp-operator.gmp-system.svc:443/default/monitoring.googleapis.com/v1/podmonitorings?timeout=10s": no service port 443 found for service "gmp-operator"

Note the port in the error message - it's looking for the gmp-operator service running on port 443. Which is really strange, because the gmp-operator exposes port 8443.
If I manually change the gmp-operator service to listen to port 443, then the above command to create the PodMonitoring resource works.
We also haven't changed anything in our network configuration & we already had the 8443 firewall rule added to our network configuration. We successfully created PodMonitoring objects in our cluster on ~10th of May.

@pintohutch Thanks for looking into this! As far as I can see, the manual fix does not get overwritten.

We ran into a similar problem
kubectl -n gmp-test apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/prometheus-engine/v0.4.1/examples/pod-monitoring.yaml
Error from server (InternalError): error when creating "https://raw.githubusercontent.com/GoogleCloudPlatform/prometheus-engine/v0.4.1/examples/pod-monitoring.yaml": Internal error occurred: failed calling webhook "default.podmonitorings.gmp-operator.gmp-system.monitoring.googleapis.com": failed to call webhook: Post "https://gmp-operator.gmp-system.svc:8443/default/monitoring.googleapis.com/v1/podmonitorings?timeout=10s": context deadline exceeded

We are running a private GKE cluster.
How do we enable this for private clusters?

Hi @naveensrinivasan - for private clusters you need to open a firewall as documented here: https://cloud.google.com/stackdriver/docs/managed-prometheus/troubleshooting#control-plane-firewall
@bogdan-dumitrescu - what happens if you run
kubectl get customresourcedefinition podmonitorings.monitoring.googleapis.com -ojsonpath="{.metadata.annotations['components\.gke\.io/component-version']}"

Would you be able to provide your cluster version? And is this a private cluster? I'm curious if there's any firewall rules blocking those ports.

@pintohutch I get 0.2.10 if I run the above command. We're running a private cluster, version  1.23.6-gke.1700. Other than the allowing the 8443 port, we did not configure any custom firewall rules.

Gotcha. Thanks for calling this to our attention @bogdan-dumitrescu! There's a minor bug with our upgrade procedure that upgrades everything except for the operator deployment in some cases, which affected you.
I'm glad that you found a remediation to unblock you. We should have a fix for this rolled out soon. Stay tuned.

https://cloud.google.com/stackdriver/docs/managed-prometheus/troubleshooting#control-plane-firewall

That worked. Thanks

@pintohutch
Running into forbidden errors for Prometheus UI and Grafana in Private GKE Clusters

I have the firewall opened.

Same error here. I see that the TLS cert does not match the hostname: gmp-operator.gke-gmp-system.svc vs  gmp-operator.gmp-system.svc. Ther's an extra gke in the deployed operator using gcloud beta container clusters update $CLUSTER_NAME --enable-managed-prometheus --zone $ZONE
from https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-managed#gmp-pod-monitoring
kubectl -n gmp-test apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/prometheus-engine/v0.4.3-gke.0/examples/pod-monitoring.yaml

Error from server (InternalError): error when creating "https://raw.githubusercontent.com/GoogleCloudPlatform/prometheus-engine/v0.4.3-gke.0/examples/pod-monitoring.yaml": Internal error occurred: failed calling webhook "default.podmonitorings.gmp-operator.gke-gmp-system.monitoring.googleapis.com": failed to call webhook: Post "https://gmp-operator.gke-gmp-system.svc:443/default/monitoring.googleapis.com/v1/podmonitorings?timeout=10s": x509: certificate is valid for gmp-operator, gmp-operator.gmp-system, gmp-operator.gmp-system.svc, not gmp-operator.gke-gmp-system.svc

Namespaces:
kubectl get namespaces

NAME              STATUS   AGE
default           Active   19d
gke-gmp-system    Active   16h
gmp-public        Active   16h
gmp-test          Active   7m31s
kube-node-lease   Active   19d
kube-public       Active   19d
kube-system       Active   19d
load-test         Active   19d

Any workaround?

@avbenavides not yet. subscribe to comments in #300

Closing this issue as it's become a conflation of several issues - the last of which is captured in #300.


It fails with an error when there is a summernote rich text widget in a form to be validated

The same bug with jQuery WYSIWYG Rich Text Editor Plugin - Froala Editor.

Probably a duplicate of #3019 which is now solved by the merge of #2154


[WEB (CanvasKit)] White line at screen bottom when rezising

Steps to reproduce
On an empty application.

Expected results
Don't get that white line.
Actual results
Getting a bothering white line x.x
Code sample
void main() {
  usePathUrlStrategy();
  runApp(
    const TWSAdministration(),
  );
}

class TWSAdministration extends StatelessWidget {
  const TWSAdministration({super.key});

  @override
  Widget build(BuildContext context) {
    return ColoredBox(
      color: Colors.red,
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration Expand to see the white line, in preview mode might not be visible
https://github.com/flutter/flutter/assets/101542646/96e92a45-9ef1-46d2-ba11-a3ca179bb573

Logs
Doctor

Flutter Doctor output
Logs
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.1, on macOS 14.4 23E214 darwin-arm64, locale en-MX)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 15.3)
    ! CocoaPods 1.12.1 out of date (1.13.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart
        side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.87.0)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

Reproduced this issue on the latest Flutter stable and master channel.

The issue occurs on Web but not on macOS app. It is not only on Canvaskit, but also on HTML renderer.
This also appears on the previous stable release 3.16.9.
I also see the issue without using usePathUrlStrategy.

Sample code
import 'package:flutter/material.dart';

void main() {
  runApp(
    const TWSAdministration(),
  );
}

class TWSAdministration extends StatelessWidget {
  const TWSAdministration({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.red,
    );
  }
}

I doubt its of any help but I wanted to mention you can trigger this bug by expanding the webview vertically or horizontally.

I'm having the same issue, it makes my web app look very cheap :(, any solutions yet?

I'm seeing the same thing.  It doesn't always happen, it seems to depend on the size of the browser window.  When it doesn't happen, then if I resize the window to be a little taller or shorter then the line usually appears.  Resize the window again to a different size, and sometimes the line disappears again.
I can make it always happen when I put the app/browser into fullscreen mode.
i.e., I have the app do a html.document.documentElement?.requestFullscreen().
Then something as simple as the following causes the white line to always run along the entire bottom of the screen.
Scaffold(
  body: Container(
    color: Colors.black,
    child: Center( child: Text('hello world'),
)));

No issues when the app is built for mobile. (both android and iOS0
Flutter 3.19.5.

I found an old build of our web app that was built back in November using flutter 3.13.9.  The problem does not exist in this build.
If I rebuild that same version of the web app with the version of flutter I have now (3.19.5), then the problem occurs.

Same issue here...


Add GetVersion method to public API

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[X] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):
kclvm/api/src/service/service_impl.rs,
kclvm/spec/gpyrpc/gpyrpc.proto

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[X] Other

Add GetVersion method to public API to allow get kclvm binary version from client application.

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[X] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[X] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Minimal test as GetVersion example code (passed by cargo test --doc)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 24 (4.17%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 71.376%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/api/src/service/capi.rs
1
8
12.5%

kclvm/api/src/service/jsonrpc.rs
0
8
0.0%

kclvm/api/src/service/service_impl.rs
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

kclvm/tools/src/LSP/src/inlay_hints.rs
3
79.22%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
56563

Relevant Lines:
79246

💛  - Coveralls


update rustls

cargo deny check is complaining about our rustls versions, causing CI to fail:
Problem
error[vulnerability]: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input
    ┌─ /__w/neon/neon/Cargo.lock:395:1
    │
395 │ rustls 0.21.9 registry+https://github.com/rust-lang/crates.io-index
    │ ------------------------------------------------------------------- security vulnerability detected
    │
    = ID: RUSTSEC-2024-0336
    = Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0336
    = If a `close_notify` alert is received during a handshake, `complete_io`
      does not terminate.

      Callers which do not call `complete_io` are not affected.

      `rustls-tokio` and `rustls-ffi` do not call `complete_io`
      and are not affected.

      `rustls::Stream` and `rustls::StreamOwned` types use
      `complete_io` and are affected.
    = Announcement: https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj
    = Solution: Upgrade to >=0.23.5 OR >=0.22.4, <0.23.0 OR >=0.21.11, <0.22.0 (try `cargo update -p rustls`)

error[vulnerability]: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input
    ┌─ /__w/neon/neon/Cargo.lock:396:1
    │
396 │ rustls 0.22.2 registry+https://github.com/rust-lang/crates.io-index
    │ ------------------------------------------------------------------- security vulnerability detected
    │
    = ID: RUSTSEC-2024-0336
    = Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0336
    = If a `close_notify` alert is received during a handshake, `complete_io`
      does not terminate.

      Callers which do not call `complete_io` are not affected.

      `rustls-tokio` and `rustls-ffi` do not call `complete_io`
      and are not affected.

      `rustls::Stream` and `rustls::StreamOwned` types use
      `complete_io` and are affected.
    = Announcement: https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj
    = Solution: Upgrade to >=0.23.5 OR >=0.22.4, <0.23.0 OR >=0.21.11, <0.22.0 (try `cargo update -p rustls`)

Summary of changes
cargo update -p<EMAIL_ADDRESS>-p<EMAIL_ADDRESS>

This was merged as part of PR #7445


Barcode scanner is not working

QR Code with TEXT, to register a new device is not being scanned.
_detector.detectInImage(firebaseImage) is not returning any Barcode objects.

Hi Ravi, can you provide some more details about the device you are using to run the sample code?
You might also try playing around with the resolution settings inside of register.dart. The sample uses ResolutionPreset.low for the best frame rate, but on your device you might get better results with a higher value.
Finally, you could verify whether or not the official ML Kit Vision Flutter sample detects properly on your device. If not, you may consider filing an issue with the plugin support for your device.

Hi Dave, Thanks for the response.
I am using One Plus 5 device for testing. I have changed the resolution settings to ResolutionPreset.high and it is working now.

The issue is resolved.


Get ranks for eval from newly added functions

bors r+

bors r-

bors r+

bors r+

bors r+

bors r-

bors r+

bors r-

bors r+

bors r-

bors r+


getMultipleItems function added! (issue #108)

issue #108

Found this fork: https://github.com/arp242/zcache


Update kilonova.py

I need to do a bit more work to make it easy for the user. Closing all the pull requests to change the kilonova.py file


Abide reflow in F6 not working?

I have a form for changing the status of a product order.  I have two fields, "Tracking Number" and "Carrier" that are disabled until the option "Shipped" is selected.  Those two fields are also required.
When I select "Shipped", the disabled property is set to false and I run the reflow. Abide correctly shows errors if I leave the two fields blank.
However, if I do not put values in and then change the select option to anything other than "Shipped", the fields' disabled property is then set back to true and the form is reflowed again.
It seems that the second reflow is breaking the form because the submit button does nothing after that.
I could just be overlooking something easy, but it is driving me crazy.

Same issue for me.
I rely on the" formvalid.zf.abide" event being triggered in my codebase before calling another submit function but the new implementation of reInit e.g. "Foundation.reInit('abide');" is clearing down the event listeners I have on my forms. NOTE: I apply these listeners directly to the abide form element as there are many cases where I have multiple forms on one page.
Are the abide events not meant to be attached at the form element level? @martinschilliger seems to have done the same as me.

IMHO there is no way to prevent reInit of clearing the event listeners – isn't it?. It's because they are attached at the form element level – so with reInit removing and new building the form they get removed. But with the solution I've written this isn't a problem anymore (made it a bit clearer btw.).

Is there something that we can do in the core?

Since it's IMHO not possible to transfer the event listeners to the new element afterreInit (and I'm not shure if it would be a good idea anyway) the only thing that could be done is a note in the documentation.

After Foundation.reInit($("[data-abide]")); it stopped working, because reInit removed the event-listener from the form element. Binding the event-listener to the document and selecting afterwards did the trick:
$(document).on("formvalid.zf.abide", "#theForm", function() {
  mySubmitFunction();
});

Generally this is the right approach to listen for dynamically added elements.


Highlighting for Python Code

Issue Type: Bug
Theme highlighting not working when using Python extension.
Python extension some times crashes and return original theme highlighting.
Extension version: 2020.4.74986
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T16:36:23.138Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.85GB (13.98GB free)

Process Argv

Screen Reader
no

VM
0%

Are you using the Python Language server, i.e check the value of python.jediEnabled in settings

As you can see I have disabled Jedi. This is in my user settings, not sure if a I understand the difference between user and workspace, in case this is can produce a issue as well.
My vscode use to crash very often, that is almost unusable, and according to other github issues this was supposed to be resolved.
Any help will be deeply appreciated.


Make batchs for the indexation

Split the indexation by making batches of 1000 (by default) documents

Currently the plugins fetch all data needed to be indexed and send it in one big batch to MeiliSearch
https://github.com/meilisearch/gatsby-plugin-meilisearch/blob/b47111ae46cfa2f1e06cf4910e9a72f45e5fc10d/gatsby-node.js#L37-L38
We want to avoid, in case the dataset is very large, a payload that is too big for the server hosting MeiliSearch. To do that, the best solution would be to batch the documents in smaller chunks before sending them.
For example if your transformedData has 3500 documents, the plugin should send 3 times a chunk of 1000 documents and once a chunk of 500 documents.

Currently the plugins fetch all data needed to be indexed and send it in one big batch to MeiliSearch
https://github.com/meilisearch/gatsby-plugin-meilisearch/blob/b47111ae46cfa2f1e06cf4910e9a72f45e5fc10d/gatsby-node.js#L37-L38
We want to avoid, in case the dataset is very large, a payload that is too big for the server hosting MeiliSearch. To do that, the best solution would be to batch the documents in smaller chunks before sending them.
For example if your transformedData has 3500 documents, the plugin should send 3 times a chunk of 1000 documents and once a chunk of 500 documents.

Closing as this was done with #54


Restore state of Choice-between-energy-based-and-time-based

Restored changes from: https://github.com/EnAccess/OpenSmartMeter/pull/116 after Git history re-write.

Solved via https://github.com/EnAccess/OpenSmartMeter/pull/131