Surprising inference failure on nested future

Consider the following program:
import 'dart:async';

void main() {
  Future<Future<String>> v = Future.value(Future.value(''));
}

This program is rejected by both the CFE and the analyzer (version 2.9.0-11.0.dev as well as a fresh 2eaac80e1a968b0219793df296e38003f97ede7d):
n021.dart:4:56: Error: The argument type 'String' can't be assigned to the parameter type 'FutureOr<Future<String>>'.
 - 'FutureOr' is from 'dart:async'.
 - 'Future' is from 'dart:async'.
  Future<Future<String>> v = Future.value(Future.value(''));

and
ERROR|STATIC_WARNING|ARGUMENT_TYPE_NOT_ASSIGNABLE|/usr/local/google/home/eernst/lang/dart/scratch/202005/n021.dart|4|56|2|The argument type 'String' can't be assigned to the parameter type 'FutureOr<Future<String>>'.

The following variant is accepted:
import 'dart:async';

void main() {
  Future<Future<String>> v = Future.value(Future<String>.value(''));
}

It looks like the type inference commits to a choice for the two branches of FutureOr a bit too early. Is that intended, or should it search more exhaustively?

It sounds like this is a language question.

Checking the inference rule for FutureOr again, I think that is true. Transferring.


Trying to copy out of container errors with "cannot copy into ..."

/kind bug
Description
With a running CentOS 8 container, simply trying to copy a file out of the container generates an error suggesting you're trying to copy into the container.
$ podman cp hungry_cerf:/etc/os-release /tmp
Error: cannot copy into running rootless container with pause set - pass --pause=false to force copying

Simply trying to cat that same file appears to work fine:
$ podman exec hungry_cerf cat /etc/os-release
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Output of podman version:
Version:            1.7.0
RemoteAPI Version:  1
Go Version:         go1.13.5
OS/Arch:            linux/amd64

I can replicate this issue with  fedora 31, podman 1.7.0
but this issue has been fixed with upstream master.
Should we close this issue?

I will leave it to those higher up the food chain to close this issue.

If it is upstream @QiWang19 Then close the issue, if someone disagrees, they can reopen.


Question about pagination and custom index

Hello , first of all i want to thank you for this amazing package and the hard work you put into it , i want to ask you about the pagination and if its an option , because it always return 50 results , and if its possible to custom that to a higher number , and about the index if its is possible to be a custom index.
thank you again

I always get return max 50 also. How to fix this???

add in ur query [_size] and u can set it to whatever u want


Client Connection Stalling...

Whilst trying to run your example code, the program just stalled. I added printlns at various locations, only to find nothing was getting past client.getSession().connect(). I put in the correct values for the variables at the top, but I was unable to get the code working. Here's the source code, but it's remade in Kotlin (a Java version did the same thing).

Is it possible that your host may be the issue? Try setting it to localhost or whatever your computers internal IP address is. For my software i tell the JVM to get the address but just typing your internal address should work

But if I only use my internal address, then it's useless. I've tried it with many different servers with the same result.

 The host option is referring to that IP. You can't set that to a host that your computer does not have. Did you port forward with those other servers? After assigning your internal ip users must connect through your external ip, which can be found on sites like ipchicken, and your port. You can then redirect a domain or subdomain to your external IP address. If you have multiple routers connected to each other (maybe wired to wireless etc) then I think you need to port forward on both routers but I am not sure.

On Apr 13, 2015, at 2:56 PM, phase<EMAIL_ADDRESS>wrote:
But if I only use my internal address, then it's useless. I've tried it with many different servers with the same result.
—
Reply to this email directly or view it on GitHub.

If I recall correctly I've looked into this a week ago and it seems to be caused by some internal not handling Proxy.NO_PROXY correctly (it might even be caused by proxies in general; haven't tested that). Somewhere a UnknownHostException (or a similar exception) was thrown, silently caught, terminating the netty thread and leaving your main thread waiting for it indefinitely.
Using the TcpSessionFactory constructor without the proxy argument seemed to work as expected.
I haven't looked into it any further so I cannot tell where the actual problem lies nor how to fix it.

@Lukario45 I'm not hosting a server, I'm making a client.
@Johni0702 Awesome, I'll check that out later.

@Johni0702 Putting in no arguments didn't seem to fix the problem, it's still stalling.

Ok, I've used the debugger once again. This is the exception swallowed somewhere in the code (using the java version of your code).
Taking a closer look it turns out that mc.openredstone.org uses SRV records to provide _minecraft at mort.openredstone.org:25569.
There is no A record for mc.openredstone.org itself which probably caused this exception to be thrown.
Using the resolved address for the hostname and port resulted in the client being disconnected by the server: "Disconnected: Login failed: Authentication service unavailable." but I assume that's a server problem as I also tried to connect to a local (Glowstone) server which worked completely as expected.
So from here I see two options:

Implementing SRV support in the PacketLib or
you implementing it yourself in your client

Either way there is still the issue of the exception being swallowed which has to be fixed in PacketLib. I suspect you could get this particular exception from the channel future here and would have to call the exceptionCaught method manually (though I haven't look into that) or maybe even rethow it.

Does these commits improve the exception swallowing issue?

@Steveice10 Yes they did. The exception is now printed to the console as expected. Thanks!

Good to hear, exception handling had always been a bit iffy in PacketLib.
As the the SRV record thing, Java itself should already work fine with SRV records. Not sure why that would happen.

I'm actually not sure whether Java has built-in SRV record support.
Either way the program would have to tell the service name to Java at some point (which I didn't find, so I assumed it isn't supported).
Feel free to correct me, I haven't made use of SRV records from anything other than python so I might have missed something.

If it didn't, that would be kind of strange. Minecraft itself supports SRV records, obviously, yet (unless I'm mistaken, it's been a while since I've checked) it doesn't have any special code for them.

Ok, I've searched the decompiled minecraft source code and I believe I have found where minecraft looks up the SRV records.
Searching for strings such as "srv" or "_minecraft" produced no results. However searching for the default port (which minecraft must append to the domain name at some point) was successful. (class bdd in minecraft 1.8.4)
The decompiler I've been using (JD) failed to decompile one of the methods in that class and only dumped the bytecode of that method. Therefore it didn't resolve the string literals which caused all my searches to fail.
Minecraft forge with snapshot_nodoc_20141130 mcp mappings is able to decompile the method correctly. The corresponding class is net.minecraft.client.multiplayer.ServerAddress and the method used to resolve SRV records approximately looks like this:
try {
            Class.forName("com.sun.jndi.dns.DnsContextFactory");
            Hashtable<String, String> config = new Hashtable<>();
            config.put("java.naming.factory.initial", "com.sun.jndi.dns.DnsContextFactory");
            config.put("java.naming.provider.url", "dns:");
            config.put("com.sun.jndi.dns.timeout.retries", "1");
            String[] result = new InitialDirContext(config).getAttributes("_minecraft._tcp." + serverAddress, new String[]{"SRV"}).get("srv").get().toString().split(" ", 4);
            return new String[]{result[3], result[2]};
        } catch (Throwable t) {
            return new String[]{serverAddress, Integer.toString(25565)};
        }

MCProtocolLib defiantly isn't loading SRV Records for Client.

SRV record support has been implemented in PacketLib.


tensorflow lite: error when convert frozen model to lite format

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 14.04
TensorFlow installed from (source or binary):
source
TensorFlow version (use command below):
1.3.0
Python version:
2.7
Bazel version (if compiling from source):
0.7.0
GCC/Compiler version (if compiling from source):
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
CUDA/cuDNN version:
cuda8.0/cudnn6.0

I tried to convert squeezenet frozen model to lite format with the following command:
"bazel run --config=opt tensorflow/contrib/lite/toco:toco -- --input_file=/home/xxx/caffe-tensorflow/npy2ckpt/squeezenet/frozen_model.pb --input_format=TENSORFLOW_GRAPHDEF  --output_format=TFLITE --output_file=/home/xxx/caffe-tensorflow/npy2ckpt/squeezenet/squeezenet.lite --inference_type=FLOAT --input_type=FLOAT --input_arrays=input --output_arrays=prob --input_shapes=1,227,227,3"
the output is shown below:
2017-11-21 18:35:29.977505: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 170 operators, 231 arrays (0 quantized)
2017-11-21 18:35:29.981856: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 40 operators, 93 arrays (0 quantized)
2017-11-21 18:35:29.982061: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 40 operators, 93 arrays (0 quantized)
2017-11-21 18:35:29.982201: I tensorflow/contrib/lite/toco/allocate_transient_arrays.cc:312] Total transient array allocated size: 4071680 bytes, theoretical optimal value: 4071680 bytes.
2017-11-21 18:35:29.982317: I tensorflow/contrib/lite/toco/toco_tooling.cc:255] Estimated count of arithmetic ops: 0.781679 billion (note that a multiply-add is counted as 2 ops).
2017-11-21 18:35:29.982482: F tensorflow/contrib/lite/toco/tflite/export.cc:192] Unsupported operator: Squeeze
Then I tried to convert mobilenet_v1_1.0_224.pb to lite format, the same error as above.
"bazel run --config=opt tensorflow/contrib/lite/toco:toco -- --input_file=/home/xxx/Downloads/freeze_mobilenet/MobileNet/img224/mobilenet_v1_1.0_224.pb --input_format=TENSORFLOW_GRAPHDEF  --output_format=TFLITE --output_file=/home/xxx/Downloads/freeze_mobilenet/MobileNet/img224/mobilenet.lite --inference_type=FLOAT --input_type=FLOAT --input_arrays=input --output_arrays=output --input_shapes=1,224,224,3"
output:
2017-11-21 22:07:39.747095: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 418 operators, 584 arrays (0 quantized)
2017-11-21 22:07:39.766175: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 31 operators, 88 arrays (0 quantized)
2017-11-21 22:07:39.766390: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 31 operators, 88 arrays (0 quantized)
2017-11-21 22:07:39.766592: I tensorflow/contrib/lite/toco/allocate_transient_arrays.cc:312] Total transient array allocated size: 6422528 bytes, theoretical optimal value: 4816896 bytes.
2017-11-21 22:07:39.766751: I tensorflow/contrib/lite/toco/toco_tooling.cc:255] Estimated count of arithmetic ops: 1.14264 billion (note that a multiply-add is counted as 2 ops).
2017-11-21 22:07:39.766952: F tensorflow/contrib/lite/toco/tflite/export.cc:192] Unsupported operator: Squeeze
Although I installed tensorflow with "pip install tensorflow-gpu", in order to convert model to lite format, I git clone the tensorflow files and  configure, bazel to compile the files. I don't know whether this affect the converting of models, but the error is really strange!

For now, Squeeze is supported only when it can be fused into other ops.
Please refer to this doc to see the ops compatibility. The team is working on supporting more ops in Toco and hopefully this will be supported in the near future.

Thanks for the info @miaout17, is ssd-mobilenet supported please? I cannot tell based on that document.

The model ssd-mobilenet is currently not supported. The team is working on supporting more ops and models.
Regarding mobilenet_v1_1.0_224, feel free to reference this doc for an example on converting an available mobilenet_v1_1.0_224 model using toco.
A pretrained frozen mobilenet_v1_1.0_224 can be found here: https://storage.googleapis.com/download.tensorflow.org/models/mobilenet_v1_0.25_128_frozen.tgz. Additionally, the list of available tflite models is found in this doc.

Now that I convert the mobilenet model to lite format failed, how tensorflow offered us the converted mobilenet lite model on the github? @miaout17

We haven't yet provided an example of Mobilenet SSD, only Mobilenet classification.  We will likely provide support for that in the future. If you are adventurous, we are happy to help you along.

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue? Please update the label and/or status accordingly.

when the  ssd-mobilenet can be supported by tflite ?

@aselle any update on mobilenet SSD support?

or any anitcipated release date for this feature? I see you added "contribution welcome" tag, does it mean you are not planning developing any object detection support in-house?

how to fuse squeeze to other ops? @miaout17


Styling issue on project board page

Description
Have a look at my project board page:

You can see that the left board (Uncategorized) has a different color than the later created "To Do" board. This becomes even more obvious and worse when I am using the light theme:

As shown here, the CSS background color is set for the left board incorrectly (only "!important" without color):
Left board:

And for the right board, it is fixed independend of the styling theme:
Right board:

What might be worth noticing: The right board was created using the dark theme, whereas the left was created by another user which uses the light styling theme.
Gitea Version
1.20.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Windows server
Database
None

Duplicate of https://github.com/go-gitea/gitea/issues/23318?

Not really.
I at least haven't found any point in my summary that said the same.
Plus I don't know if it is limited to org-projects only.

Could you check that "Are you on system theme/auto".


How to use fastapi-events dispatch as task with sqs-polling

def poll(event_name: EventName, service_id: int, **kwargs):
    @polling(**kwargs)
    def s3_upload_task(
        self: Polling,
        message_body: str,
        message_attribute: dict[str, Any] | None,
        message_group_id: str | None,
        message_duplication_id: str | None,
    ):
        data: dict[str, Any] = json.loads(message_body)
        records = data["Records"]
        pprint(message_body)
        pprint(data)

        for record in records:
            s3_record = record["s3"]
            s3_upload_object = SQSS3Object(**s3_record)

            asyncio.create_task(dispatch_task(event_name, s3_upload_object, service_id))

however i get below errror
ERROR:sqs_polling.polling:no running event loop
Traceback (most recent call last):
  File "/opt/lk/eda-services/verifire_service/.venv/lib/python3.11/site-packages/sqs_polling/polling.py", line 215, in _execute
    p.handler(
  File "/opt/lk/eda-services/verifire_service/.venv/lib/python3.11/site-packages/shared/aws/sqs.py", line 52, in s3_upload_task
    try_with_me(event_name, s3_upload_object, service_id)
  File "/opt/lk/eda-services/verifire_service/.venv/lib/python3.11/site-packages/shared/aws/sqs.py", line 28, in try_with_me
    asyncio.create_task(dispatch_task(event_name, s3_upload_object, service_id))
  File<EMAIL_ADDRESS>line 371, in create_task
    loop = events.get_running_loop()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: no running event loop
Stack (most recent call last):
  File<EMAIL_ADDRESS>line 995, in _bootstrap
    self._bootstrap_inner()
  File<EMAIL_ADDRESS>line 1038, in _bootstrap_inner
    self.run()
  File<EMAIL_ADDRESS>line 975, in run
    self._target(*self._args, **self._kwargs)
  File<EMAIL_ADDRESS>line 83, in _worker
    work_item.run()
  File<EMAIL_ADDRESS>line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/lk/eda-services/verifire_service/.venv/lib/python3.11/site-packages/sqs_polling/polling.py", line 232, in _execute
    logger.error(e, exc_info=True, stack_info=True)

refer - 4) Dispatching events outside of a request of https://pypi.org/project/fastapi-events/

@grizzly-monkey
Thank you for creating the Issue.
In this case, the event loop must be started using the main function as implemented in the sample.


Fix clusteroperator CAcert recorder

Without this change, the behavior of the CAcert recorder for the EKS
provisioner changed when the handlers for EKS and GKE were refactored
into a single clusteroperator package (a6f0b91b), causing the cert to be
recorded on the cluster status wrongly. This change reverts the common
package to use EKS's old behavior. The GKE operator will be updated to
work in the same way.
Depends on https://github.com/rancher/gke-operator/pull/22

Backport https://github.com/rancher/rancher/pull/31946


Age Calculator

I would like to add Age calculator. Kindly assign this issue to me.

go ahead 🚀

I can also do so plz assign this to me , or plz give me a new issue I really need it.


Protocol segements must be merged into one Document index item.

One dispatch item corresponds to one document. In case of grouping then all items must be merged into a single index item.
https://github.com/welfare-state-analytics/pyriksprot/blob/47fc040e0ff2621065066e766278953da472a991/pyriksprot/dispatch/dispatch.py#L293

Resolved


No new version after ALTER TABLE SET TBLPROPERTIES

It was reported on slack:

upon checking the table history I saw no changes have come in effect, there was no entry in the table history of enabling the CDF.

ALTER TABLE merge_demo
SET TBLPROPERTIES (delta.enableChangeDataFeed = true);

The idea behind this issue is to fix it in the code (and perhaps create a new version) or in the docs (explaining the proper behaviour).

ALTER TABLE SET TBLPROPERTIES does create a new version:
+-------+-----------------+-----------------------------------------------------------------------------+
|version|operation        |operationParameters                                                          |
+-------+-----------------+-----------------------------------------------------------------------------+
|1      |SET TBLPROPERTIES|{properties -> {"delta.enableChangeDataFeed":"true"}}                        |
|0      |CREATE TABLE     |{isManaged -> true, description -> null, partitionBy -> [], properties -> {}}|
+-------+-----------------+-----------------------------------------------------------------------------+

I will close since Yatharth confirmed it was a configuration error.
For reference, the ALTER TABLE SET TBLPROPERTIES command creates & attempts to commit a new transaction by design.
https://github.com/delta-io/delta/blob/master/core/src/main/scala/org/apache/spark/sql/delta/commands/alterDeltaTableCommands.scala#L105-L124


CSS is not minimized

Looks like the CSS is not minimized in production

@Subtain-Farooq in your pr you minified the css source. this makes it super hard to edit anything in the CSS. I found https://gohugo.io/hugo-pipes/minification/ that can be used to minify the CSS by Hugo at buildtime. we should use that one. I will merge #71 but would like to have a new PR that reverts the minify of the CSS source and use the Hugo plugin instead. Can you take care of that?


NCO Registration page won't show up

title, https://docs.blamejared.com/1.12/en/Mods/NuclearCraft_Overhualed/Registration/ is currently empty according to the website, but  docs/Mods/NuclearCraft_Overhauled/Registration.md does exist

Thanks


Parameterize max_backdoor_iterations

Hi team, this PR mainly exposes the max_backdoor_iterations parameter to the user.
Made necessary changes to causal_model.py and causal_identifier.py files.
Why we need to parameterize max_backdoor_iterations?
Currently, max_backdoor_iterations, which now would be one of a parameter in identify_effect method is a private variable in CausalIdentifier.py file.
Defaulted to a static value of 100000, it makes sure to perform up till 100000 networkx.d_seperated operations un till a valid adjustment set of co-variates are found.
https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.d_separation.d_separated.html
For a one-time activity of looping - 100K could be fine, but generally if we have a large causal graph, we don't just end up in estimating only one variables effect in other variable. We would perform many trails by back-and-forth selecting many variables as treatments and outcomes.
For each of these trails, because of statically coded 100K max_backdoor_iterations, we would perform 100k networkx.d_seperated tests.
Due to this reason, we would like to parameterize max_backdoor_iterations, such that an end-user now can retrieve results faster with regulation on number of backdoor_iterations.
Code changes and Logic:
causal_model.py ->
Added max_backdoor_iterations as one of a parameter to the identify_effect method and defaulted a value of 100000.
copied max_backdoor_iterations variable and added as one of a parameter into CausalIdentifier method call.
causal_identifier.py ->
Removed previous hardcoded private variable: MAX_BACKDOOR_ITERATIONS
Added max_backdoor_iterations as one of a parameter to the CausalIdentifier method and initialized it to a self object.
changed everywhere in file's code from MAX_BACKDOOR_ITERATIONS to self.max_backdoor_iterations
Implemented a logic to check on every iteration, whether #number_of_iterations is greater than max_backdoor_iterations. If yes - breaks from the loop, else - continues.
New enhancement but with previous code Logic:
Step-0: max_backdoor_iterations=25000
Step-1: nx.d_seperated method stopped executing 320000th time.
Step-2: if 320000>10000
Step-3: breaks from the loop
(why d_seperated logic should execute many combinations whilst user request only for 25K times)
Note: 320000 is a number, which I've observed from the itertools.combination() method
New enhancement with newest code Logic:
Step-0: max_backdoor_iterations=25000
Step-1: Check #no_iter>max_iter for every inner loop-thru
Step-2: nx.d_seperated method getting stopped at 25000th time.
Step-3: if 25000>25000
Step-4: breaks from the loop
Please let me know in case of any questions.
Chaitanya Molabanti

closing

closing

closing


On MIDI

MIDI implementation on AG3 wasn't very clear or agile. Far from optimal. Giving it some more thought this idea came out: how about using /midi like we do with /routine and /def? We could give it a name and pass variables to it.
First a /midi/def would be defined, then it could be reused with different values using /midi <NAME> [ARGS].
The last 2 arguments of all /midi/[ch|velocity|note|...] commands are always the minimum and maximum values to which the MIDI value will be converted. Here are some ideas of possible MIDI subcommand syntax:
# definition
/midi/def bla actor note
    # set the channel for this midi def
    /midi/ch 0

    # velocity for any note mapped to a range between 0 - 1920
    /midi/velocity /position/x $actor 0 1920

    # note value mapped to a range between 0 - 12
    /midi/note /frame $actor 0 12

    # velocity for note 60 mapped to a range between 0 - 360
    /midi/note/velocity 60 /angle $actor 0 360
    # alternative syntax
    /midi/noteon 60 /angle $actor 0 360
    # same using a variable
    /midi/note/velocity $note /speed $actor 0.5 2

    # oneshot
    /midi/noteoff 60 /stop $actor

    # value of CC mapped to 0.0 - 1.0
    /midi/cc 1 /color/r $actor 0 1

# usage
/create ma default
/create ta somethingelse
/midi bla ma 60
/midi bla ta 59

This might make it inconsistent with /routine which would have to change to /routine/def and then be used with /routine <NAME> <ARGS> but I'm not sure that is desirable. It works well as it is now.
What do you think?

I don't understand your example.  I think we may need to talk about this in person.

Also, a /routine call is the definition of the routine. There is no need for a separate call... Or maybe I'm misunderstanding something in what problem(s) you're trying to solve.

I don't understand your example.  I think we may need to talk about this in person.

 That kind of solves the problem. We could atomize /midi/* commands for each midi event or use case (noteon using velocity, noteon using note number, noteon as a trigger, ...). It was confusing in AG3, I think it's clear now, but let's talk about it in person.

Also, a /routine call is the definition of the routine. There is no need for a separate call... Or maybe I'm misunderstanding something in what problem(s) you're trying to solve.

This is what I meant by /midi/def not being consistent with /routine. But your previous point avoids this inconsistency, so we should be good.


Automatically run task gc after sync

Sync can potentially change the set of pending tasks, so it should update the working set.  It's also the point where we know the replica's data is backed up, so it seems like a good time for garbage collection.

I think we'll want to have a number of maintenance operations:

adding pending tasks to the end of the working set, without renumbering
renumbering (compacting) the working set
sync'ing
expiring deleted / completed tasks N days after their last modification

Probably only the first of those should happen after a sync.  TaskWarrior renumbers on every list operation, so we cold replicate that behavior.


.Net Interopability

Hi,
When i was working in Extensions 2.0 with files and file Management codeunit i see the .net interopability is
not supported.
can you tell me if this will be supported in future and can you also tell us the precise timing.
Also is there an alternative for now to work on this?
Thanks,
Varun Reddy

Running arbitrary .NET code in the cloud in a safe manner is a specialized task. We will be handing over this task to other services our recommendation being Azure Functions (https://azure.microsoft.com/en-us/services/functions/)
At the same time we are adding more functionality to the AL language and core library to satisfy the most common .NET usages. So far we have added HTTP and JSON types to enable you to call out to other web services.
You can see draft documentation here under REST API section:
https://msdn.microsoft.com/en-us/dynamics-nav/newdev-reference-overview
You can also take a look at a sample usage in this GitHub repository:
https://github.com/Microsoft/AL/tree/master/samples/GetAddressService
Upcoming improvements to AL core library include XML handling support and enhanced String handling.

Hi,
So we cannot have the complete .net variables access as we have in NAV Dev environment in On premise in future also?
Thanks,
Varun Reddy

On TechDays2016 (check mibuso) guys told that they will get rid of .NET interop and will introduce more AL syntax to core (strings, collections and etc. management) that will cover basics. There are no TBD for these.
GUI add-ins looks like will be JS with .NET DLL manifest as it is now... - again not clear for how long and not sure if that will not change, I assume they will get rid of dotnet add-ins.
If you want to handle specific .NET code to do job for you - you can use Azure Functions (you can do .NET stuff there) and publish via WS and consume results from your extension. So in general - welcome to WS/Json world! :)
Would be very good MS would publish plan or roadmap on what we'll have at the end of the day.
Thanks,
Igor Pcelnikov

Hi,
So One more Question
I have created a .net dll and want to use it in extensions 2.0 do you guys have a code example to use it?
Thanks
Varun Reddy

There is currently no support for .net interop in extensions v2. We plan to make that available for on-prem development in the future, but not for SaaS.


Unable to use double quotes with gpfdist

From @sabbyanandan on May 6, 2016 17:19
From @sgulzar-pivotal on March 15, 2016 10:18
One of the prospects is trying to create a stream and passing the table name in double quotes (Their tables are case sensitive)
file --dir="/home/gpadmin/sppglabtests/" --pattern="testin.csv" --mode="lines" | gpfdist --columnDelimiter="," --dbHost="10.x.x.1" --dbName="spdb" --table="Apple" --mode="INSERT"

The stream are failing with the following error:
SNAP ERROR sqlTaskScheduler-1 gpfdist.GPFDistMessageHandler - Error in load
org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [DROP EXTERNAL TABLE Apple_ext_8cab8bd5_1603_4f28_99e6_2db22583c9ff]; nested exception is org.postgresql.util.PSQLException: ERROR: table "apple_ext_8cab8bd5_1603_4f28_99e6_2db22583c9ff" does not exist

Copied from original issue: spring-cloud/spring-cloud-stream-modules#218
Copied from original issue: spring-cloud/spring-cloud-stream-app-starters#80

From @jvalkeal on March 29, 2016 9:1
Not really sure what's going on here as I can't reproduce these errors in gpfdist from dataflow(not sure if it'd be any different in XD).
With gpdb/hawq table names are not case sensitive.

From @sgulzar-pivotal on May 10, 2016 2:28
We can close this issue Carlos Q and myself has added this feature in the SpringXD 1.3.2.


DaggerApplicationComponent.kt missing

Hi!
I'm try to learning about Android development by my self.
I found this project and I cloned it. I thogth, "it's a great sample".
But...
I've trying to run the dagger-android branch, but I found DaggerApplicationComponent missing file.
I searched it in project but it doesn't exists. I guess it wasn't commited in branch.
Can anybody help me with that?

Hey @rrangelo ,
That is a generated file with the help of annotations. You need to build the project to be able to have that Dagger prefixed files.
It should solve your problem.


Fix useCookies not rerendering component after cookie changes value back to initial one

Resolves issue #210 and passes test case #213

It has been fixed. Thanks for taking the time to give examples!


Rollup Error on yarn

Hello,
This component works amazingly. We are using it in production. Thank you for publishing it.
I've forked the repository to see if I could work on a fix to format the currency in another locale (I'm aware of #37, #15 and #13). When I tried to run the yarn command on master branch I got the following error:
Yarn command output
yarn install v1.7.0
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error https://schoology.jfrog.io/schoology/api/npm/npm/weak/-/weak-1.0.1.tgz: Request failed "404 Not Found"
error https://schoology.jfrog.io/schoology/api/npm/npm/nan/-/nan-2.7.0.tgz: Request failed "404 Not Found"
error An unexpected error occurred: "https://schoology.jfrog.io/schoology/api/npm/npm/rollup/-/rollup-0.43.1.tgz: Request failed \"404 Not Found\"".

yarn-error.log Trace output
Trace:
  Error: https://schoology.jfrog.io/schoology/api/npm/npm/rollup/-/rollup-0.43.1.tgz: Request failed "404 Not Found"
      at Request.<anonymous> (/usr/local/Cellar/yarn/1.3.2/libexec/lib/cli.js:59356:26)
      at emitOne (events.js:116:13)
      at Request.emit (events.js:211:7)
      at Request.module.exports.Request.onRequestResponse (/usr/local/Cellar/yarn/1.3.2/libexec/lib/cli.js:123971:10)
      at emitOne (events.js:116:13)
      at ClientRequest.emit (events.js:211:7)
      at HTTPParser.parserOnIncomingClient (_http_client.js:551:21)
      at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)
      at TLSSocket.socketOnData (_http_client.js:440:20)
      at emitOne (events.js:116:13)

Expected behavior
The expected behavior is that the yarn command would run.
Steps to reproduce

Fork the repository
Clone the version
Run the command yarn

Enviroment
$ yarn --version
1.7.0
$ node --version
v8.9.4
$ npm --version
5.6.0

Is there a fix for this, did I miss some step? Or should I be developing on another branch?

Oh no, sorry! Looks like it's using a previous employer's internal registry. I'll gladly update it as soon as I can; just need to change the registry in the lockfile.

Should be all set after d266081 on master. Apologies for the trouble! If anything else is amiss, please reach out.

Running yarn after your commit made it work perfectly.
Thank you @ianmcnally.


Create vRealizeOrchestrator.gitignore

Pull Request
Thank you for contributing to @toptal/gitignore and https://www.gitignore.io.
New or update
Select the appropriate check box for this pull request. This helps when merging to ensure there are no conflicts with other templates or misunderstandings of how thee template list works.
New

[x] Template - New .gitignore template
[ ] Composition - Template made from smaller templates
[ ] Inheritance - Template similar to an existing template
[ ] Patch - Template extending functionality of existing template

Update

[ ] Template - Update existing .gitignore template

Details
vRealize Orchestrator is a Cloud Automation IDE which has git capabilities inbuilt. But doesn't provide gitignore template out of the box. Hence, adding it here to the biggest collection of gitignore.
Article supporting it: https://cloudblogger.co.in/2022/05/16/dont-ignore-gitignore-in-vro-8-x/
What is vRO: https://www.vmware.com/in/products/vrealize-orchestrator.html
vRO Community Discussion: https://communities.vmware.com/t5/vRealize-Orchestrator/vRO-git-repo-exclude-configuration-elements-and-resource/m-p/2901690#M25733

I need to know when can I search for vRealize Orchestrator on the mail gitignore.io page?

@imtrinity94 You should already be able to.
https://www.toptal.com/developers/gitignore/api/vrealizeorchestrator

My observation says it took few days before the gitignore.io homepage could show it.


Fix alert undefined issue

Fix issue that alert is undefined case, reported at https://rackhd.atlassian.net/browse/RAC-4506
@iceiilin @lanchongyizu @yyscamper

+1

:+1:


[DNM] Filter know upstream pandas errors

These two deprecations are being worked on. Let's filter them out in CI to make it easier to see what other errors there are in the upstream build
EDIT: this PR isn't meant to be merged. I'm just interested in getting CI logs.

For the spark-related failures: pandas has changed a breaking change to a deprecation, so we should be able to filter that out locally until pyspark fixes its usage.

The upstream build (currently only testing pandas) is green ✅ 🎉
The Python 3.10 build is a legitimate failure related to the pyarrow conda-forge package, but is also being taken care of https://github.com/conda-forge/arrow-cpp-feedstock/issues/865 upstream

Alright, looks like the pyarrow recipe issue has indeed been resolved. We should be good to go for handling pandas=1.5 compatibility in the release later today. Thanks @ian-r-rose @ncclementi for all your work on this!


Mysql

[x] This PR actually submits something - don't use this system as a messaging service!
[x] This PR isn't duplicated - you can check if it is by scanning the small list - link is on the navigation bar for this repository.
[x] This PR includes appropriate markdown for sections - e.g. code blocks for suggested code.
[x] This PR description and comments in code is understandable - feel free to use your native language to write if you are not comfortable with English.
[x] This PR has a single branch for itself in your fork - don't just commit to the master branch of your repository!
[x] This PR has comments written in clear English - please don't write unreadable comments just for your eyes.

Pull Request description
{Type something here}

Optional information
{Type something here}

what the heck is wrong with your git...

That was actually github, master to api3. R.I.P.


Feature/scenes card

Draft Scenes card

Support scene
Support script

I don't known if the box shadow inside the card is needed.
I'm very busy for now, I don't have time to review all the great job you are doing. May be we can sync each other in discord or something about the futur roadmap? 🙂 There is a lot of issues but sorting is required 😅

May be the outside border is not needed 🙂

I think the container should go. The card itself should simply just be the oval and nothing else?
Does the width auto adjust too? What if the scene name is longer than 5 char? Some of my name's are quite long

You can have the same with mushroom card inside vertical stack in card.

You can use stack in card or vertical stack in card (if you want to remove all borders) or maybe just the official card stack for that

Você pode usar pilha em cartão ou pilha vertical no cartão (se você quiser remover todas as bordas) ou talvez apenas a pilha oficial de cartões para isso

Hi, could you share the code for this card?

You can use stack in card or vertical stack in card (if you want to remove all borders) or maybe just the official card stack for that

Hi, could you share the code for this card?

@acesyde
do you have a sample of how to build "You can use stack in card or vertical stack in card"?


Fix for issue #12 Data missing when reading from channels

File.LoadMetadata is getting pretty big and ugly. Needs refactoring.

Merge+pushed, thx!


Using prepare

I can't using prepare! and another functions are deprecated, could someone update the documentation?

What Julia version are you using? I do not get any warnings on v0.5 when using something like
sd = StringDocument(txt)
prepare!(sd, strip_case)

where txt is a string in memory.

Version 0.5.0 (2016-09-19 18:14 UTC) - x86_64-linux-gnu

Does this work?
txt = "Test This"
sd = StringDocument(txt)
prepare!(sd, strip_case)

I do not get any warning for this.. Or can you provide code that gets warnings?

I have this same problem. Curiously, it works with strip_case but fails for all other similar functions. See:
julia> sd = StringDocument("Hello, world!"); prepare!(sd, strip_case); sd.text
"hello, world!"

julia> sd = StringDocument("Hello, world!"); prepare!(sd, strip_pronouns); sd.text
ERROR: type String has no field data
Use `Vector{UInt8}(str)` instead.
Stacktrace:
 [1] remove_patterns(::String, ::Regex) at /home/mauro/.julia/v0.6/TextAnalysis/src/preprocessing.jl:308
 [2] remove_patterns! at ~/.julia/v0.6/TextAnalysis/src/preprocessing.jl:334 [inlined]
 [3] #prepare!#11(::Set{AbstractString}, ::Set{AbstractString}, ::Function, ::TextAnalysis.StringDocument, ::UInt32) at /home/mauro/.julia/v0.6/TextAnalysis/src/preprocessing.jl:290
 [4] prepare!(::TextAnalysis.StringDocument, ::UInt32) at ~/.julia/v0.6/TextAnalysis/src/preprocessing.jl:285
 [5] macro expansion at ./REPL.jl:97 [inlined]
 [6] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73

The error message is identical for strip_numbers, strip_non_letters, etc.
What am I doing wrong?

Ah, after running Pkg.update() everything works fine now. Sorry for the noise.

Yes, thanks, I tagged a new version last night. Sorry for the trouble, this had been fixed on master for a while, but hadn't tagged it.


Create repository: python-faz-bot-dev

Following functionalities in python-faz-bot-core should be moved to
separate repositories python-faz-bot-dev. This new repository should contain functionalities not related to the source code, but related to development and production, such as database management, test helper modules, etc:

[ ] scripts/initdb.py
[ ] scripts/dbvcs/
[ ] tests/fixtures_* to src/faz/bot/dev/fixtures

Issue:
How would code from outside of the project run the scripts, especially dbvcs?

Issue:
How would code from outside of the project run the scripts, especially dbvcs?
Specifically, how would alembic find the correct alembic.ini when the script is executed outside?

Solved. Use %(here)s, and move alembic.ini to the source code, next to root of migration packages.
You can then run alembic with alembic -c path/to/faz/bot/dev/dbvcs/alembic.ini --name <name> <command>, as illustrated on the attached image.

Scrapped. This causes some complex dependencies between projects.

faz-bot-core will depends on faz-bot-dev for scripts to initialize database, and dataset for testing.
faz-bot-dev will depends on faz-bot-core, for the core logic behind faz-bot-core code.


Update feature parity for Lambda support, and others

Now supported on Java/JS/.NET. Updated GoLang has resolved the errors specification.

.Net stack trace translation is now done as well: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/3280


Enable Auth without breaking existing service

Including
Istio service -> non-istio service (e.g., ApiServer)
non-istio service -> istio service (e.g., Liveness/readiness check from kubelet)
Upgrading a TLS traffic with Istio Auth.

@diemtvu

@akuroda for tracking purpose

subscribe


Left position incorrect when input element outside initial viewport

I have a page where horizontal scrolling does happen. When a date input is placed outside of the initial viewport, the popup is misplaced. As in: css property 'left' is set to 'auto' instead of a pixel-value.
Fiddle:  https://jsfiddle.net/3ohbwe0m/

Maybe try this
https://jsfiddle.net/6vLup9ax/

This is actually more of a CSS problem than something wrong with flatpickr. flatpickr does what it's supposed to, as in, it detects the input is on right side and attaches itself using the right: -1px position, not the left.
The problem is that flatpickr is attached to the body and the body doesn't expand it's width to fit the element in (the body's width is always what you see in the viewport).
What you need to do is make sure the body's width fits the content, but what I really recommend is adding a wrapper with the width that fits the content and attaching flatpickr to that, as shown here:
https://jsfiddle.net/va1u25nL/1/

Closing this due to inactivity and not being a flatpickr issue per se


add sources

Sources are in the parameters docstring but missing in actual func define.

They're in the docstring as an attribute though, and both concrete classes do implement them as properties. I don't think it makes much sense to pass them as a keyword argument, because the sources attribute represents the sources that are actually returned by the data stream. If you set them like this, your data stream could have sources = ('features',) but still be returning both features and targets, which would mess things up.
A particular implementation of a data stream could edit the sources of course, and allow those to be given as an argument. For example:
class CopyStream(DataStreamWrapper):
    """Adds a new copy of the first data source.

    The copy gets the given source name.

    """
    def __init__(self, source, **kwargs):
        super(CopyStream, self).__init__(**kwargs)
        self.sources = self.sources + (source,)

    def get_data(self, state=None, request=None):
        data = next(self.child_epoch_iterator)
        data += (data[0],)
        return data

Sorry for late reply. I see, I guess also what I wanted can be handled by passing sources to dataset, which I missed.


Adds command spo file sharinglink add, Closes #4025

This PR adds command spo file sharinglink add.
Closes #4025

Well done @nicodecleyre, we'll review it ASAP!

Hi @nicodecleyre could you resolve the merge conflicts please?
Thanks!

Good start! Let's do a few adjustments before we proceed.

Thank you! Processed your feedback!

Merged manually, thank you! ❤


service: ask question if package not a binary

Description of change
Make the error also suggest what might be the issue.
How has this been tested? (if applicable)
N/A

Closing in favor of #1758


updated folder structure to reflect dist as the output folder. Issue #404

This pull request only updates the readme file. I neglected to mention that in the title.

@pmcanseco something strange has happened as this was merged, but wasn't..
can you create this pull request again and I'll merge it?
ps. it will be my first merge lol

That is strange!
Recreating.

My fault. I merged then re-wrote history of master branch (the worse thing you can do in git i think :)


chore: updated the docs to reflect errors change

Description:

Is this change user facing?
YES/NO

References (if applicable):

Hey @Peeeekay , can you remember to add the user facing label to this next time along with a short description? I'd use something like:

Update quickstart to reflect the changes we've made to how errors are printed


Change how abilities are applied

Thanks for this! When I passed around the ability function as a string I knew there had to be a better way. This is much better.


Question

Hello, why was kittenzok’s pr denied and closed?, then you deleted his pr.

Rude PR title.
Vulgar commit description.

User proved via further errant commentary he didn't fully understand the code he was referring to. The PR is closed but not deleted.

Yes, it is.
For future bear in mind license notice:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.

It looks like you just dodge the questions


Refactor: FlowView class component to functional component

Refactor Flowview class component to functional component.
I got rid of:
    if (syncEvents.includes(event)) return this.syncFlow(flow);
    this.setState({ chart: flow });

because we need a new way of triggering a rerender (this.setState does it in the class, dispatching an action does it in the function). And we need a rerender everytime something changes with the chart/flow, so checking for specific types of events didn't seem to make sense to me.
I also think that the check didn't make sense in the class, because a rerender was triggered anyway with calling this.setState

@BastinJafari, could you also update integration tests for FlowView as a part of this? When I tried last, one test case in it was failing.
Use a selector like data-name instead of classnames.
Also, think about unit tests for functions in this FlowView.

@BastinJafari, could you also update integration tests for FlowView as a part of this? When I tried last, one test case in it was failing.
Use a selector like data-name instead of classnames.
Also, think about unit tests for functions in this FlowView.

I get an issue when trying to select the nodes via data-name:

Even though the attribute data-name is in the tree, Cypress doesn't seem to find it. Any idea how to fix that?

I get an issue when trying to select the nodes via data-name:

Even though the attribute data-name is in the tree, Cypress doesn't seem to find it. Any idea how to fix that?

@BastinJafari, try the developer tools inside cypress test runner  (it's basically a browser). See if you see the element in the DOM
https://docs.cypress.io/guides/guides/debugging.html#Using-the-Developer-Tools

@BastinJafari, try the developer tools inside cypress test runner  (it's basically a browser). See if you see the element in the DOM
https://docs.cypress.io/guides/guides/debugging.html#Using-the-Developer-Tools


Poolboy, cache, and maps returned

Implemented use of pools for connections to virus total
cache file_report & url_report
return hashes instead of proplist

VERIFICATION

[ ] tests should pass
[ ] results should be a hash instead of proplist
[ ] check ets cache to make sure calls are cached

Thanks!

@dtykocki is there something I need to fix here or something you'd like changed?

@lsato-r7 Sorry, I've totally neglected looking over this. I'll try to give it a proper review this weekend!

@dtykocki no problem, there's no rush - just wanted to make sure! If there's anything that needs change, feel free to mention it. I'm planning to add more to the caching side since right now, I've only implemented caching for the calls that I'm currently using. Thanks again

@lsato-r7 I'm good with using poolboy and changing the response structures to use maps. Great all around here! Since the API and response structures have changed, the README should be updated to reflect this.
I'm a bit skeptical on the caching change. I'm not aware of your particular use case, but others may not want the responses cached or is caching the result somewhere else outside of this library. Also, since VirusTotal queues certain requests, when requesting the result of a queued operation that has yet to complete, there isn't a way to bust the cache, and query VirusTotal again. An example might make this more clear:
> virustotal:file_scan(foo, <<"rebar.config">>).

% Use the scan_id from the above
> ScanId = <<"a33cbc53429c57abd2071727a8051461af6e191866edea47c60eae13fe9dca29-1480850733">>.

% Is the report ready?
> virustotal:file_report(foo, ScanId).
{ok,#{resource => <<"a33cbc53429c57abd2071727a8051461af6e191866edea47c60eae13fe9dca29-1480850733">>,
      response_code => -2,
      scan_id => <<"a33cbc53429c57abd2071727a8051461af6e191866edea47c60eae13fe9dca29-1480850733">>,
      verbose_msg => <<"Your resource is queued for analysis">>}}

% Nope and we've now cached the above response.
> virustotal:file_report(foo, ScanId).
{ok,#{resource => <<"a33cbc53429c57abd2071727a8051461af6e191866edea47c60eae13fe9dca29-1480850733">>,
      response_code => -2,
      scan_id => <<"a33cbc53429c57abd2071727a8051461af6e191866edea47c60eae13fe9dca29-1480850733">>,
      verbose_msg => <<"Your resource is queued for analysis">>}}


[NLU-3223] V3 Entity Improvement: DE-DE time: 10 nach 3

Adding support for German expressions like "10 nach 3" and "zehn past drei".

Sample pipeline run: https://jenkins.ininica.com/job/NLU/job/Recognizers-Text/185/


fix: Refactor to handle queries in parallel and on independent poll statuses

:tada: This PR is included in version 1.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix panic on deserializing entities without components

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 93.562%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

deserialize.go
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
218

Relevant Lines:
233

💛  - Coveralls


ScrollArea in Drawer is not working

Description
I've encountered an issue where the ScrollArea component isn't working as expected inside a Drawer component in the shadcn-ui framework.
Steps to Reproduce

Import the Drawer and ScrollArea components from shadcn-ui.
Implement a Drawer with a ScrollArea component inside it.
Populate the ScrollArea with sufficient content to require scrolling.
Observe that the scrolling functionality is not working.

Expected Behavior
The ScrollArea inside the Drawer should allow for vertical scrolling when the content overflows the visible area.
Actual Behavior
The ScrollArea does not respond to scroll attempts, and the content is not fully accessible.
Possible Solution or Workaround
I haven't found a workaround yet. A possible solution might involve adjusting the CSS properties of the ScrollArea when it's used within a Drawer.

I'm using it like this:
    <Drawer open={true} onClose={() => router.back()}>
      <DrawerContent className='fixed bottom-0 left-0 right-0 max-h-[90dvh]'>
        <ScrollArea className='overflow-auto p-4'>
          {/* Your content goes here */}
        </ScrollArea>
      </DrawerContent>
    </Drawer>

Can you provide

I tried to replicate the issue but i couldn't, can you provide little bit more context? @yusupovbg

I have the same problem.
The problem doesn't happen on chrome on PC.
It happens on mobile chrome.
@mukul7661

Same issue

Same here

Same issue here, on mobile devices particularly

It works with a fixed height for scroll area: "h-".

It works with a fixed height for scroll area: "h-".

no it doesnt. it just cuts off the scroll content and doesnt solve any problem. the problem is how to scroll up/down while still being able to swipe off the drawer

Same here as well. I have added content within ScrollArea component, and it also doesn't work
<Drawer open={open} onOpenChange={onOpenChange}>
    <DrawerContent className="max-h-[80vh]">
        <DrawerHeader className="text-left">
            <DrawerTitle>Citation</DrawerTitle>
            <DrawerDescription>
                Make sure to check if the given answer is align with the original source.
            </DrawerDescription>
        </DrawerHeader>
        <Separator />
        <ScrollArea className="p-4 max-h-[60vh]">
            {content}
        </ScrollArea>
        <Separator />
        <DrawerFooter className="pt-2">

Thank you for diligently double checking!

        </DrawerFooter>
    </DrawerContent>
</Drawer>

Got the same problem but I found the workaround. I have added content within ScrollArea component, and in tailwind I had to add overflow-auto and then it worked
<Drawer open={open} onOpenChange={onOpenChange}>
    <DrawerContent className="max-h-[80vh]">
        <DrawerHeader className="text-left">
            <DrawerTitle>Citation</DrawerTitle>
            <DrawerDescription>
                Make sure to check if the given answer is align with the original source.
            </DrawerDescription>
        </DrawerHeader>
        <Separator />
        <ScrollArea className="p-4 max-h-[60vh] overflow-auto">
            {content}
        </ScrollArea>
        <Separator />
        <DrawerFooter className="pt-2">

Thank you for diligently double checking!

        </DrawerFooter>
    </DrawerContent>
</Drawer>

this is wrong. i dont think you guys understand what im saying. here use this updated code:
<Drawer direction={"left"}>
  <DrawerTrigger asChild>
    <Button variant="outline">Open Drawer</Button>
  </DrawerTrigger>
  <DrawerContent className="h-full w-[35%]">
    <DrawerHeader className="text-left">
      <DrawerTitle>Citation</DrawerTitle>
      <DrawerDescription>
        Make sure to check if the given answer is align with the original
        source.
      </DrawerDescription>
    </DrawerHeader>
    <Separator />
    <ScrollArea className="overflow-auto p-4 break-all">
      {Array.from({ length: 10000 }, (_, index) => index + 1)}
    </ScrollArea>
    <Separator />
    <DrawerFooter className="pt-2">

        Thank you for diligently double checking!

    </DrawerFooter>
  </DrawerContent>
</Drawer>

imagine that you have a left-side navigation menu
open the drawer
swipe from Left to Right => it works
open the drawer again
scroll
swipe from Left to Right => it does NOT work <--- FIX THIS

@MilanObrenovic's approach got me most of the way there. With a few minor tweaks to the ScrollArea styles, I was able to get the desired implementation. Here it is.
<Drawer open={isOpen} onClose={onRequestClose}>
  <DrawerContent className="max-h-[80vh]">
    <DrawerHeader className="text-left">
      {label && <DrawerTitle>{label}</DrawerTitle>}
      {description && <DrawerDescription>{description}</DrawerDescription>}
    </DrawerHeader>
    <ScrollArea className="h-auto overflow-y-auto">

{children}

    </ScrollArea>
    <DrawerFooter className="pt-2">
      <DrawerClose asChild>
        <Button variant="outline" onClick={onRequestClose}>
          Cancel
        </Button>
      </DrawerClose>
    </DrawerFooter>
  </DrawerContent>
</Drawer>

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Any updates on the workaround for this issue?

Any updates on the workaround for this issue?

Emil fixed it in the latest update

Am I doing anything wrong here?

function DrawerPropertyFilter() {
  return (
    <Drawer open>
      <DrawerTrigger asChild>

          <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M4 21V14" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M4 10V3" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M12 21V12" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M12 8V3" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M20 21V16" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M20 12V3" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M1 14H7" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M9 8H15" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M17 16H23" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
          </svg>

            Filter properties

      </DrawerTrigger>
      <DrawerContent className="bg-white ">

          <DrawerHeader>
            <DrawerTitle>Filter properties</DrawerTitle>
            <DrawerDescription>Set your daily activity goal.</DrawerDescription>
          </DrawerHeader>

          <ScrollArea>

            <FilterContainer name="Sort by">
              <button>Newest</button>
              <button>Price</button>
              <button>Price</button>
              <button>A-Z</button>
              <button>Z-A</button>
            </FilterContainer>

            <FilterContainer name="Price">
              <button>House</button>
              <button>Apartament</button>
            </FilterContainer>

            <FilterContainer name="Area" row>
              <input placeholder="Min"></input>
              <input placeholder="Max"></input>
            </FilterContainer>

            <FilterContainer name="Land" row>
              <input placeholder="Min"></input>
            </FilterContainer>

              <button>Reset</button>
              <button>Apply</button>

          </ScrollArea>

          <DrawerFooter>
            hi
            <DrawerClose asChild>
              hidden
            </DrawerClose>
          </DrawerFooter>

      </DrawerContent>
    </Drawer>
  )
}

I want the header and footer to be fixed always on the screen while the content to scroll - or am I doing this wrong?

Actually, I've just done this...
function DrawerPropertyFilter() {
  return (
    <Drawer open>
      <DrawerTrigger asChild>

          <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M4 21V14" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M4 10V3" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M12 21V12" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M12 8V3" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M20 21V16" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M20 12V3" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M1 14H7" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M9 8H15" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M17 16H23" stroke="#1D2F3B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
          </svg>

            Filter properties

      </DrawerTrigger>

      <DrawerContent className="bg-white ">

          <DrawerHeader className="sticky top-0 bg-white w-full z-10">
            <DrawerTitle>Filter properties</DrawerTitle>
            <DrawerDescription>Set your daily activity goal.</DrawerDescription>
          </DrawerHeader>

            <FilterContainer name="Sort by">
              <button>Newest</button>
              <button>Price</button>
              <button>Price</button>
              <button>A-Z</button>
              <button>Z-A</button>
            </FilterContainer>

            <FilterContainer name="Price">
              <button>House</button>
              <button>Apartament</button>
            </FilterContainer>

            <FilterContainer name="Area" row>
              <input placeholder="Min"></input>
              <input placeholder="Max"></input>
            </FilterContainer>

            <FilterContainer name="Land" row>
              <input placeholder="Min"></input>
            </FilterContainer>

hi

wo

          <DrawerFooter>

              <button>Reset</button>
              <button>Apply</button>

            {/* <DrawerClose asChild>
              hidden
            </DrawerClose> */}
          </DrawerFooter>

      </DrawerContent>

    </Drawer>
  )
}

Not sure why anyone using the broken scroll xd

<DrawerContent
		class="flex flex-col rounded-t-2xl border-0 outline-none"
		pullClass="bg-white/30 z-50 absolute left-1/2 -translate-x-1/2"
	>

			<DrawerTitle>{item.name}</DrawerTitle>
			<DrawerDescription>{formatCurrency(item.defaultPrice)}</DrawerDescription>

*]:pb-4">
					{@html item.description}

	</DrawerContent>

This works for me without using ScrollArea

Technically, adding overflow-y-auto to <ScrollArea /> does not actually resolve the issue, as mentioned in the comments of this thread. If you use that approach, you might as well not use <ScrollArea /> at all, since it will be a regular unstyled scrollbar.
To correctly fix the issue, modify the <DrawerPrimitive.Content /> className to include h-full and remove h-auto. The code would change from this:
const DrawerContent = React.forwardRef<
  React.ElementRef<typeof DrawerPrimitive.Content>,
  React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>
>(({ className, children, ...props }, ref) => (
  <DrawerPortal>
    <DrawerOverlay />
    <DrawerPrimitive.Content
      ref={ref}
      className={cn(
        "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
        className
      )}
      {...props}
    >

      {children}
    </DrawerPrimitive.Content>
  </DrawerPortal>
))
DrawerContent.displayName = "DrawerContent"

To this:
const DrawerContent = React.forwardRef<
  React.ElementRef<typeof DrawerPrimitive.Content>,
  React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>
>(({ className, children, ...props }, ref) => (
  <DrawerPortal>
    <DrawerOverlay />
    <DrawerPrimitive.Content
      ref={ref}
      className={cn(
        "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-full flex-col rounded-t-[10px] border bg-background",
        className
      )}
      {...props}
    >

      {children}
    </DrawerPrimitive.Content>
  </DrawerPortal>
))
DrawerContent.displayName = "DrawerContent"

When implementing the components, it would look something like this:
<Drawer
  open={isOpen}
  onOpenChange={handleClose}
  preventScrollRestoration={false}
  disablePreventScroll
  noBodyStyles
>
  <DrawerContent>
    <ScrollArea>
      <DrawerTitle>Example</DrawerTitle>
      <DrawerDescription>Content here</DrawerDescription>
    </ScrollArea>
    <DrawerFooter>
      <DrawerClose asChild>
        <Button
          className="close-btn"
          variant="outline"
          onClick={handleClose}
        >
          Close
        </Button>
      </DrawerClose>
    </DrawerFooter>
  </DrawerContent>
</Drawer>

I hope this helps, as I wasn't able to find this answer elsewhere.

Technically, adding overflow-y-auto to <ScrollArea /> does not actually resolve the issue, as mentioned in the comments of this thread. If you use that approach, you might as well not use <ScrollArea /> at all, since it will be a regular unstyled scrollbar.
To correctly fix the issue, modify the <DrawerPrimitive.Content /> className to include h-full and remove h-auto. The code would change from this:
const DrawerContent = React.forwardRef<
  React.ElementRef<typeof DrawerPrimitive.Content>,
  React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>
>(({ className, children, ...props }, ref) => (
  <DrawerPortal>
    <DrawerOverlay />
    <DrawerPrimitive.Content
      ref={ref}
      className={cn(
        "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
        className
      )}
      {...props}
    >

      {children}
    </DrawerPrimitive.Content>
  </DrawerPortal>
))
DrawerContent.displayName = "DrawerContent"

To this:
const DrawerContent = React.forwardRef<
  React.ElementRef<typeof DrawerPrimitive.Content>,
  React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>
>(({ className, children, ...props }, ref) => (
  <DrawerPortal>
    <DrawerOverlay />
    <DrawerPrimitive.Content
      ref={ref}
      className={cn(
        "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-full flex-col rounded-t-[10px] border bg-background",
        className
      )}
      {...props}
    >

      {children}
    </DrawerPrimitive.Content>
  </DrawerPortal>
))
DrawerContent.displayName = "DrawerContent"

When implementing the components, it would look something like this:
<Drawer
  open={isOpen}
  onOpenChange={handleClose}
  preventScrollRestoration={false}
  disablePreventScroll
  noBodyStyles
>
  <DrawerContent>
    <DrawerTitle>Example</DrawerTitle>
    <ScrollArea>
      <DrawerDescription>Content here</DrawerDescription>
    </ScrollArea>
    <DrawerFooter>
      <DrawerClose asChild>
        <Button
          className="close-btn"
          variant="outline"
          onClick={handleClose}
        >
          Close
        </Button>
      </DrawerClose>
    </DrawerFooter>
  </DrawerContent>
</Drawer>

I hope this helps, as I wasn't able to find this answer elsewhere.

This works but makes the drawer full height anytime. I prefer setting it in context when needed :
{...}

<DrawerContent className="h-full max-h-[90vh]">
  <DrawerHeader className="flex justify-between">
    <DrawerTitle>Example</DrawerTitle>
    <DrawerClose asChild>
      <Button variant="ghost" size="icon">
        <X className="size-4" />
      </Button>
    </DrawerClose>
  </DrawerHeader>
  <ScrollArea>
    {...}
  </ScrollArea>
</DrawerContent>

{...}

@Deveosys adding h-full and max-h-[SOME_HEIGHT] worked. Thank you 🥳


:wrench: replace rmrk ipfs gateway with kodadot

Hopefully, it works. If it got a Cors error, it should hit multiple gateways. Something like this: https://github.com/kodadot/workers/blob/eda0b2477a27126022c6fd142fc5dfdfa379b0c1/image/src/utils/ipfs.ts#L20-L55


streaming with Monix's Iterant

solve #1078

Codecov Report

Merging #1098 into master will decrease coverage by 0.57%.
The diff coverage is 68.75%.

@@            Coverage Diff             @@
##           master    #1098      +/-   ##
==========================================
- Coverage   81.04%   80.46%   -0.58%
==========================================
  Files          54       55       +1
  Lines        1018     1034      +16
  Branches       59       55       -4
==========================================
+ Hits          825      832       +7
- Misses        193      202       +9

Impacted Files
Coverage Δ

monix/src/main/scala/io/finch/monix/package.scala
68.75% <68.75%> (ø)

core/src/main/scala/io/finch/Input.scala
91.8% <0%> (-8.2%)
:arrow_down:

core/src/main/scala/io/finch/Endpoint.scala
73.14% <0%> (+0.57%)
:arrow_up:

Continue to review full report at Codecov.

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

Hey, @alexeygorobets! Can you rebase your branch and adopt a cancelation logic similar to #1082?

I think this would have to wait for CE3 support in Monix: https://github.com/monix/monix/pull/1533


wrong checking option in mda

If you toggle the stage positoins check box in the multid widget you will get this error:
TypeError                                 Traceback (most recent call last)
File ~/mambaforge/envs/napmicr-test/lib/python3.9/site-packages/micromanager_gui/multid_widget.py:241, in MultiDWidget.toggle_checkbox_save_pos(self=)
    238     self.checkBox_save_pos.setEnabled(True)
    240 else:
--> 241     self.checkBox_save_pos.setCheckState(False)
        self.checkBox_save_pos =
        self =
    242     self.checkBox_save_pos.setEnabled(False)

TypeError: 'PySide2.QtWidgets.QCheckBox.setCheckState' called with wrong argument types:
  PySide2.QtWidgets.QCheckBox.setCheckState(bool)
Supported signatures:
  PySide2.QtWidgets.QCheckBox.setCheckState(PySide2.QtCore.Qt.CheckState)

which is these lines:
https://github.com/tlambert03/napari-micromanager/blob/db0e98bc53e293e826fc3e82473c9e210fbbccaa/micromanager_gui/multid_widget.py#L240-L242
attn: @fdrgsp

@ianhi Thanks! This might be the solution: self.checkBox_save_pos.setCheckState(Qt.CheckState.Unchecked).
I've added that to PR #94 .

Being a bug fix, this would be a nice thing to have in its own PR, so it doesn't need to get considered at the same time as a other new feature

Being a bug fix, this would be a nice thing to have in its own PR, so it doesn't need to get considered at the same time as a other new feature

fix in #101


[Question] How can I change how the Minecraft messages appear on Discord?

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Description
I looked through the config to find this option, but I couldn't figure out how to do it. My goal right now is to make the  bolded. So I expected to be able to do that with something like "<%name%> %message%". Here is an image of how it looks right now.

Help would be appreciated.

Oh I forgot that this message can be customized too, will add later.

Oh I forgot that this message can be customized too, will add later.

Alright thats fine, thank you!

Open this issue for a reminder to myself until I fix this.

U may use the latest build.


[PL-55727] SMP 0.18.1 Patch Release Notes

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): https://harness.atlassian.net/browse/PL-55727
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66a1ead6f745f1b50cb7d6a6--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66a201512879e4ce4a5d7ac9--harness-developer.netlify.app


[e2e] Add test case for PVC creation in RKE2 cluster

Changes

New Cluster API for cluster management

Add Cluster's PVC Manager
Add Cluster's Storage Class Manager
Add PVC Spec for PVC creation

New test case to cover https://github.com/harvester/harvester/issues/3647

To close #748

The new test case will depends on previous test case created RKE2 cluster.

Thanks @lanfon72, merging this now, you can address this later.


FEATURE: Bonuses from ShadowDarklings for the Bard class

Hi - I have added support for creating Bard characters on https://www.shadowdarklings.net.
The new Bard Talent bonuses are described in the attached file:
BardNewBonuses.txt
Please add support to the Import process for these new bonuses.

This will most likely take a while, as it requires #444 and the dependencies there. But thanks for the data, that will be helpful when we get to implementing the Bard!


browser support

https://cconcolato.github.io/media-mime-support/

https://developer.mozilla.org/en-US/docs/Web/Media/Formats


[bug]: lnd server stuck in process of starting even when running on regtest with only a few blocks that needs synchronization

Background
Getting RPC error:-
[lncli] rpc error: code = Unknown desc = server is still in the process of starting
when attempting to connect to the neighboring node.
Your environment

version of lnd: using the image  lightninglabs/lndinit:v0.1.3-beta-lnd-v0.14.2-beta
which operating system (uname -a on *Nix): Linux logging 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
version of btcd, bitcoind, or other backend:- lncm/bitcoind:v22.0
any other relevant environment details

Steps to reproduce
Nodes are started using the following script::-
https://gist.github.com/DhananjayPurohit/4a558a4923cff2820a722ce763cbe7d9
Commands executed after starting the nodes::-
https://gist.github.com/DhananjayPurohit/6decffb90d85e80089c30475be370721
Expected behaviour
The node should successfully connect to the neighboring node.
Actual behaviour
LND logs:-
2024-07-30 14:22:34.351 LNDINIT: Version 0.1.3-beta commit=, debuglevel=debug
2024-07-30 14:22:37.826 [INF] LTND: Version: 0.14.2-beta commit=v0.14.2-beta, build=production, logging=default, debuglevel=info
2024-07-30 14:22:34.354 LNDINIT: Reading seed from file
2024-07-30 14:22:37.826 [INF] LTND: Active chain: Bitcoin (network=regtest)
2024-07-30 14:22:37.826 [INF] RPCS: Generating TLS certificates...
2024-07-30 14:22:37.827 [INF] RPCS: Done generating TLS certificates
2024-07-30 14:22:37.830 [INF] RPCS: RPC server listening on <IP_ADDRESS>:10009
2024-07-30 14:22:37.834 [INF] RPCS: gRPC proxy started at <IP_ADDRESS>:8080
2024-07-30 14:22:37.836 [INF] LTND: Opening the main database, this might take a few minutes...
2024-07-30 14:22:37.836 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2024-07-30 14:22:37.846 [INF] LTND: Creating local graph and channel state DB instances
2024-07-30 14:22:37.855 [INF] CHDB: Checking for schema update: latest_version=24, db_version=24
2024-07-30 14:22:37.856 [INF] LTND: Database(s) now open (time_to_open=[19](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:20).225015ms)!
2024-07-30 14:22:37.856 [INF] LTND: Attempting automatic wallet unlock with password provided in file
2024-07-30 14:22:38.968 [INF] LNWL: Opened wallet
[20](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:21)24-07-30 14:22:39.078 [INF] CHRE: Primary chain is set to: bitcoin
2024-07-30 14:22:39.098 [INF] LNWL: Started listening for bitcoind block notifications via ZMQ on <IP_ADDRESS>:28332
2024-07-30 14:22:39.100 [INF] LNWL: Started listening for bitcoind transaction notifications via ZMQ on <IP_ADDRESS>:28333
2024-07-30 14:22:40.268 [INF] LNWL: The wallet has been unlocked without a time limit
2024-07-30 14:22:40.329 [INF] CHRE: LightningWallet opened
2024-07-30 14:22:40.333 [INF] HSWC: Cleaning circuits from disk for closed channels
2024-07-30 14:22:40.333 [INF] HSWC: Finished cleaning: no closed channels found, no actions taken.
2024-07-30 14:22:40.333 [INF] HSWC: Restoring in-memory circuit state from disk
2024-07-30 14:22:40.333 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0
2024-07-30 14:22:40.336 [INF] SWPR: Migrating UTXO nursery finalized TXIDs
2024-07-30 14:22:40.337 [INF] LTND: Channel backup proxy channel notifier starting
2024-07-30 14:22:40.337 [INF] ATPL: Instantiating autopilot with active=false, max_channels=5, allocation=0.600000, min_chan_size=20000, max_chan_size=16777[21](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:22)5, private=false, min_confs=1, conf_target=3
2024-07-30 14:22:40.337 [INF] IRPC: Baking macaroons for invoices RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/invoices.macaroon
2024-07-30 14:[22](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:23):40.338 [INF] SGNR: Making macaroons for Signer RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/signer.macaroon
2024-07-30 14:22:40.338 [INF] WLKT: Baking macaroons for WalletKit RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/walletkit.macaroon
2024-07-30 14:22:40.339 [INF] NTFR: Baking macaroons for ChainNotifier RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/chainnotifier.macaroon
2024-07-30 14:22:40.340 [INF] RRPC: Making macaroons for Router RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/router.macaroon
2024-07-30 14:22:40.340 [INF] LTND: We're not running within systemd
2024-07-30 14:22:40.341 [INF] LNWL: Started rescan from block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 (height 0) for 0 addresses
2024-07-30 14:22:40.342 [INF] LTND: Waiting for chain backend to finish sync, start_height=0
2024-07-30 14:22:40.350 [INF] LNWL: Catching up block hashes to height 0, this might take a while
2024-07-30 14:22:40.350 [INF] LNWL: Done catching up block hashes
2024-07-30 14:22:40.350 [INF] LNWL: Finished rescan for 0 addresses (synced to block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206, height 0)
2024-07-30 14:22:34.354 LNDINIT: Reading wallet password from file
2024-07-30 14:22:34.568 LNDINIT: Creating new wallet in /root/.lnd/data/chain/bitcoin/regtest
2024-07-30 14:22:37.718 LNDINIT: Wallet created successfully in /root/.lnd/data/chain/bitcoin/regtest
2024-07-30 14:22:34.407 LNDINIT: Version 0.1.3-beta commit=, debuglevel=debug
2024-07-30 14:22:34.407 LNDINIT: Reading seed from file
2024-07-30 14:22:37.911 [INF] LTND: Version: 0.14.2-beta commit=v0.14.2-beta, build=production, logging=default, debuglevel=info
2024-07-30 14:22:34.407 LNDINIT: Reading wallet password from file
2024-07-30 14:22:34.580 LNDINIT: Creating new wallet in /root/.lnd/data/chain/bitcoin/regtest
2024-07-30 14:22:37.789 LNDINIT: Wallet created successfully in /root/.lnd/data/chain/bitcoin/regtest
2024-07-30 14:22:37.911 [INF] LTND: Active chain: Bitcoin (network=regtest)
2024-07-30 14:22:37.911 [INF] RPCS: Generating TLS certificates...
2024-07-30 14:22:37.912 [INF] RPCS: Done generating TLS certificates
2024-07-30 14:22:37.912 [INF] RPCS: RPC server listening on <IP_ADDRESS>:10009
2024-07-30 14:22:37.924 [INF] RPCS: gRPC proxy started at <IP_ADDRESS>:8080
2024-07-30 14:22:37.924 [INF] LTND: Opening the main database, this might take a few minutes...
2024-07-30 14:22:37.924 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2024-07-30 14:22:37.944 [INF] LTND: Creating local graph and channel state DB instances
2024-07-30 14:22:37.950 [INF] CHDB: Checking for schema update: latest_version=24, db_version=24
2024-07-30 14:22:37.956 [INF] LTND: Database(s) now open (time_to_open=32.057591ms)!
2024-07-30 14:22:37.957 [INF] LTND: Attempting automatic wallet unlock with password provided in file
2024-07-30 14:22:39.058 [INF] LNWL: Opened wallet
2024-07-30 14:22:39.161 [INF] CHRE: Primary chain is set to: bitcoin
2024-07-30 14:22:39.180 [INF] LNWL: Started listening for bitcoind block notifications via ZMQ on <IP_ADDRESS>:28332
2024-07-30 14:22:39.182 [INF] LNWL: Started listening for bitcoind transaction notifications via ZMQ on <IP_ADDRESS>:28333
2024-07-30 14:22:40.369 [INF] LNWL: The wallet has been unlocked without a time limit
2024-07-30 14:22:40.419 [INF] CHRE: LightningWallet opened
2024-07-30 14:22:40.4[23](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:24) [INF] HSWC: Cleaning circuits from disk for closed channels
2024-07-30 14:22:40.423 [INF] HSWC: Finished cleaning: no closed channels found, no actions taken.
20[24](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:25)-07-30 14:22:40.424 [INF] HSWC: Restoring in-memory circuit state from disk
2024-07-30 14:22:40.424 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0
2024-07-30 14:22:40.4[26](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:27) [INF] SWPR: Migrating UTXO nursery finalized TXIDs
2024-07-30 14:22:40.427 [INF] LTND: Channel backup proxy channel notifier starting
2024-07-30 14:22:40.4[27](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:28) [INF] ATPL: Instantiating autopilot with active=false, max_channels=5, allocation=0.600000, min_chan_size=20000, max_chan_size=16777215, private=false, min_confs=1, conf_target=3
2024-07-30 14:22:40.427 [INF] SGNR: Making macaroons for Signer RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/signer.macaroon
2024-07-30 14:22:40.427 [INF] WLKT: Baking macaroons for WalletKit RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/walletkit.macaroon
2024-07-30 14:22:40.427 [INF] RRPC: Making macaroons for Router RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/router.macaroon
2024-07-30 14:22:40.4[28](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:29) [INF] NTFR: Baking macaroons for ChainNotifier RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/chainnotifier.macaroon
2024-07-30 14:22:40.428 [INF] IRPC: Baking macaroons for invoices RPC Server at: /root/.lnd/data/chain/bitcoin/regtest/invoices.macaroon
2024-07-30 14:22:40.4[29](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:30) [INF] LTND: We're not running within systemd
2024-07-30 14:22:40.431 [INF] LTND: Waiting for chain backend to finish sync, start_height=0
2024-07-[30](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:31) 14:22:40.435 [INF] LNWL: Started rescan from block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 (height 0) for 0 addresses
2024-07-30 14:22:40.438 [INF] LNWL: Catching up block hashes to height 0, this might take a while
2024-07-30 14:22:40.439 [INF] LNWL: Done catching up block hashes
2024-07-30 14:22:40.439 [INF] LNWL: Finished rescan for 0 addresses (synced to block 0f9188f13cb7b2c71f2a335e3a4fc[32](https://github.com/commerceblock/mercurylayer/actions/runs/10164054071/job/28108495940#step:8:33)8bf5beb436012afca590b1a11466e2206, height 0)
Pubkey:<PHONE_NUMBER>bf4f9a18195bebbe614f75b3965a46f27395d3fc7324cd1859c60145
[lncli] rpc error: code = Unknown desc = server is still in the process of starting

Is your latest regtest block older than 2 hours? Then bitcoind (and because of that lnd as well) will think it's not up to date. Just mine a block and things should fully start up.

Have tried mining a few blocks to make it active but still getting the same RPC error when attempting to connect to the neighboring node.

Yes, I'm using lndinit (lightninglabs/lndinit:v0.1.3-beta-lnd-v0.14.2-beta) to programmatically create a wallet for LND. There aren't any better versions available.
https://hub.docker.com/r/lightninglabs/lndinit/tags?page=&page_size=&ordering=-last_updated&name=

You ordered by "oldest first"... It's a bit hard to search with the daily build. But if you go to the release page of lndinit and then look at the latest version there, you'll see it's v0.1.21-beta. If you filter by that, you'll see there's a new one available: https://hub.docker.com/r/lightninglabs/lndinit/tags?page=&page_size=&ordering=&name=v0.1.21-beta

Thanks, upgrading the lndinit version to lightninglabs/lndinit:v0.1.21-beta-lnd-v0.18.0-beta and changing the bitcoind config from
-zmqpubhashblock=tcp://<IP_ADDRESS>:28332
-zmqpubhashtx=tcp://<IP_ADDRESS>:28333

to
-zmqpubrawblock=tcp://<IP_ADDRESS>:28332
-zmqpubrawtx=tcp://<IP_ADDRESS>:28333

resolved the issue.


Optional task signature verification

This change adds optional task signature verification to the Agent. This feature can be enabled by adding a Fingerprint property to the Agent configuration file. If this property exists, task signatures will be verified at run time. If the verification fails, the task fails. If the verification is successful we extract the task and overwrite whatever may exist on disk.
In order to support this a new folder inside the Agent is added, _taskzips. This contains the original task zips that are downloaded from the server. This allows us to verify the signature and extract at task run time.
Manual Tests

From a clean Agent with signing disabled, run multiple builds with the same tasks to make sure they are downloaded and reused.
From an agent that already has tasks downloaded, run builds with task signing then turned on and make sure they are verified and replaced at runtime.
From a clean Agent with signing enabled, run multiple builds with the same tasks to make sure they are downloaded and reused.

Do we have any tests that make sure we do the signing check correctly? I saw tests to make sure we extracted things into the right place, but not necessarily tests that make sure we properly detect a valid/invalid signature.

Do we have any tests that make sure we do the signing check correctly? I saw tests to make sure we extracted things into the right place, but not necessarily tests that make sure we properly detect a valid/invalid signature.

We don't. That would be good to have but is a bit trickier. In order to verify the signatures we need a cert to do the verification. That cert needs to be issued by a Certificate Authority if we want it to run on another machine without anything installed. What we could do is write some PowerShell to create a script in the test, sign a task, then verify. Thoughts?

Merging here with Admin since we have a flaky test and slow ARM builds blocking us and need to release ASAP. Will verify master build to make sure it works.


update kernel reqs doc; recommend updates on RHEL

We've received numerous reports for issues which have been fixed in newer kernels. We've also received reports from users who were trying to get Docker to run on systems where a Docker compatible kernel isn't available by default.
Issues like #1300, #7211 and #9256 have pointed out the fact that there are users out there who are a) trying to get Docker to run on unsupported systems, b) running kernels which are no longer supported (like kernel 3.8 on Ubuntu 12.04) or c) running supported kernels, but they're not installing system updates.
We need to make sure users are aware that they need to keep systems updated.
This PR also changes the Ubuntu docs to make it clear that 12.04 should actually be used together with kernel 3.13 (lts-trusty).

Ping @unclejack

@fredlf @SvenDowideit Can you take a look at this and let me know if there's anything else I should change, please?

LGTM - @fredlf @jamtur01

Minor edits but otherwise LGTM ping @fredlf

What is the status on this PR and why is it in the 1.5 milestone?

@crosbymichael I'll make the edits needed to take fredlf's feedback into account tomorrow.

Ok, thanks for the update!

and I'm happy to do any final edits needed to get it to merge on my Monday - @unclejack feel free to leave me notes about what you thing needs to be changed on the RPM install topics too - I moved things around there, and may have lost some info.

@unclejack see #10652 :)


flow and --respect-pragma

I'm not quite sure why but as soon as --respect-pragma was added to flow the the ale flow plugin forces it upon the user.
https://github.com/w0rp/ale/blob/master/ale_linters/javascript/flow.vim#L7:15
The problem is that this over-rules the setting in .flowconfig
https://flow.org/en/docs/config/options/#toc-all-boolean

Now that I think about it, I'm not sure if this is fixable since:
Complicated conditional situation:

ale-flow always piping file through flow, which flow interprets as always check
global flow checkall setting in flowconfig
@flow pragma

But I'd really like to just turn on global checking, it just makes more sense, and the hidden functionality of respect-pragma is not obvious, and not documented in this plugin.

That was added a while ago to stop flow from checking random files on your filesystem by default. I'll add an option to turn that off.

Now you can set g:ale_javascript_flow_use_respect_pragma or the buffer variable equivalent to 0 to remove the --respect-pragma option.


No setting output for site start page

Summary
Strange thing:
[[++aConfigSetting]] doesn't work on context start site page (site_start).
Step to reproduce
1/ place a setting placeholder in site_start page resource [[++aConfigSetting]]
2/ change start page and refresh cache
Observed behavior
1/ No output for setting
2/ Work as expected
Expected behavior
Setting output
Environment
lientconfig-1.3.2-pl
MODX Revolution 2.5.2-pl

This seems to work fine here. Any chance this may have been a cache issue, where refreshing the cache, and not changing the site_start resource fixed it?


Team Name Change does not get propagated - fix with FB function

Describe the bug
If you go into the edit teams and change the name of  team, the old name is still reflected in the dashboard and even in the header bar.  It is because the name has been denormalize to the activity record and the user record and also not updated in react context due to this ,
To Reproduce
Steps to reproduce the behavior:

Join a team
go in and edit the name of that team
Look at dashboard etc

Expected behavior
Screenshots
Additional context
To do "everything" that "should" be done when a team name changes is kind of a big deal since it is on all user records and activity records.  The teamUid is also on those so it is still tied to the correct team, but the name displayed is not accurate since it is the team name at the time the user joined or the activity was created.
The best way may be to add a listener in FB functions on the server so any time a teamName changes, it automatically updates the user records to reflect that name.  Also should do activities but not sure I really need to since it should use teamUid for key stuff

Finished activities and users using firebase functions and firebase batch


feat(OCPADVISOR-128): workloads table sorting

How to check the PR
Make sure that the columns are sortable

Just to verify, was it confirmed the sorting for severity should be the same like in vulnerability? If that's the case I left a comment

Yeah, pretty much that's the behavior we can copy

:tada: This PR is included in version 1.27.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SSD convergence studies

In interest of helping define rules for convergence, NV has done many convergence studies sweeping hyperparameters with SSD that we would like to share with the committee.

this issue is now redundant with https://github.com/mlperf/training_policies/issues/392.  we can close this in favor of that one, since the convergence discussion is all happening there.


HTML view: add option to show data on per virtual host basis

Please correct me if I'm wrong, but currently the HTML view shows e.g. the browser or OS statistics for all (virtual) hosts. It would be nice if e.g. in the "panel options" there would be the opportunity to show the stats on demand only for user-chosen virtual hosts.

You are correct. However, issue #117 will address this and give the ability to filter by virtual host or any other field.


feat: Beerus Config File

Feature Request
Describe the Feature Request
Take config from config file in addition to environment variables.
Describe Preferred Solution
On process start up initially look for config file(default for ~/.beerus/beerus.toml) to parse for startup variables. If not found, parse from env(as we are now)
//example beerus.toml
[environment]
network = "goerli"
log_level = "info"
data_dir = ".beerus/tmp"
fetch_seconds = 5

[mainnet]
consensus_rpc = "https://www.lightclientdata.org"
execution_rpc = "https://eth-mainnet.g.alchemy.com/v2/XXXXX"
starknet_rpc="https://mainnet.infura.io/v3/XXXXXX"

[goerli]
consensus_rpc = "http://testing.prater.beacon-api.nimbus.team"
execution_rpc = "https://eth-goerli.g.alchemy.com/v2/XXXXX"
starknet_rpc="https://starknet-goerli.infura.io/v3/XXXXXX"

Describe Alternatives
currently parse from env

i'll do that

I think if a config is defined in an environment variable it should be used instead of the one in the config file.
For me it's the expected behavior.
Can I work on this issue?

That sounds good to me for env_variable.
Assigning to you.

Really sorry I didn't take time to start working on it.

You closed this issue right @drspacemn ?

If yes i will close.

Issue closed.


Runtime.ErrorLoadingHandler when using es6 exports

I'm getting the following error:
Unknown application error occurred
Runtime.ErrorLoadingHandler

And the only thing I'm changing between it working and this failure state is the node version. Previously I was using AWS' node14. Here's my js:
// index.js
export async function entry(event) {
  return {
    statusCode: 200,
    headers: {
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      result: 'success',
    }),
  };
}

tf:
resource "aws_lambda_function" "api_api" {
  function_name = random_pet.lambda_api_function.id

  s3_bucket = aws_s3_bucket.api_bucket.id
  s3_key    = aws_s3_bucket_object.api_bucket_obj.key

  runtime = "provided"
  layers  = ["arn:aws:lambda:us-east-1:072686360478:layer:node-16_9_1:3"] # https://github.com/fusebit/everynode
  handler = "index.entry"

  source_code_hash = data.archive_file.lambda_api.output_base64sha256

  role = aws_iam_role.api_exec.arn

  tags = var.tags
}

I used babel to build the env preset. That seems to do the trick. ES6 is not supported maybe? Would be great to get some docs for this at least

@yspreen The fix to support ES6 in Node >=14 is in, but the buildout of layers will take a few hours. I will drop a note here when done.

@yspreen The layers with support for ES6 in Node >=14 are now deployed to every region - grab them from the catalog https://github.com/fusebit/everynode#any-region-any-nodejs-version-one-lambda. Let me know if this fixes the issue.

thanks so much @tjanczuk ! I have to use a bundler anyways, as indicated in #3 , so I don't need module support anymore. I think we can close this and if someone comes up on this in the future, they can reopen if the issue persists 👍

@yspreen what is that "tf" file?
I am trying to use node 16, see https://github.com/fusebit/everynode/issues/11 and I am using Typescript, compiling to commonjs

@paul-uz it's terraform. infrastructure as code to make deployments more reproducible


fix: limit array in meterValue and sampledValue

Context:
From OCPP 1.6, section 7.33:

MeterValue
Class
Collection of one or more sampled values in MeterValues.req. All sampled values in a MeterValue are
sampled at the same point in time.

sampledValue
Required. One or more measured values

Problem:
The v16/schemas/MeterValues.json accepts the following:
Empty list of meterValue
{
  "connectorId": 22883461,
  "meterValue": [],
  "transactionId": -15150072
}

Empty list of sampledValue
{

  "connectorId": 22883461,
  "meterValue": [{
      "timestamp": "2020-08-19T05:35:53.953Z",
      "sampledValue": []
    },],
  "transactionId": -15150072
}

Proposal:
I suggest to limit the length of the arrays by the use of the
minItems to 1 in both sampledValue and meterValue. Check documentation
https://json-schema.org/understanding-json-schema/reference/array.html#length

Thanks!


codesandbox template

I've created basic example.

https://codesandbox.io/s/github/azu/textlint-builder/tree/master/
https://github.com/azu/textlint-builder
We want to provide codesandbox template for distributor.
The textlint.js distributor use some base project.

Add rough rough design

textchecker-element integration
Download button

https://www.figma.com/file/9kRm0Cr869zbdACytRE74R/textlint-editor?node-id=34%3A2
The user can check if the rule works on the browser.

Idea: We provide GitHub Actions that create preview page and distributing template.

https://github.com/textlint/editor/tree/master/packages/%40textlint/website-generator


chore(tests): recommend testing-library

Summary

This will serve as a marker when editing tests that it might be time to refactor from enzyme to testing-library.
Reasons for this are:

less buggy (enzyme for example doesn't distinguish between className passed to a component and a dom element)
doesn't need hacks to work with preact

Result

existing tests using enzyme's mount/shallow are marked as deprecated, but obviously still work and don't fail the linting

we still use those functions, import.*mount still has 7 results in tests for me @francoischalifour

@Haroenv Indeed, I was searching for preactMount but we export them with a different name.


getting-started for 2.0

the asp.net site getting started will be updated to show these steps, and the one in the aspnet/Docs repo needs to follow suit:
a.	dotnet new razor -o aspnetcoreapp
b.	dotnet run
c.	View in the browser
d.	Edit Index.cshtml to add Hello, world! The time on the server is @DateTime.Now
Notes: Remove the mkdir/cd and use the -0

Item 1 in the list on that page should probably say "Install .NET Core SDK" instead of "Install .NET Core".

[@]rowanmiller is taking care of this.

@rachelappel  looks like we want a copy of https://www.asp.net/get-started for now
@scottaddie  is that your understanding?

@Rick-Anderson That is my understanding. Dan and Rowan are in talks about how we can avoid the duplication down the road.

https://github.com/aspnet/Docs/pull/4133